Skip to content

subset of import fixes left to make #6822

subset of import fixes left to make

subset of import fixes left to make #6822

Triggered via push January 31, 2024 18:23
Status Failure
Total duration 24m 1s
Artifacts 9

zowe-cli.yml

on: push
Matrix: test
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

74 errors and 6 warnings
Command Response › If we create a progress bar: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L133
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:133:48)
Command Response › should allow the progress bar to write directly to a socket stream: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L162
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:162:48)
Command Response › If we create a progress bar: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L195
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:195:48)
Command Processor › should handle not being able to instantiate the handler: packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts#L969
expect(received).toContain(expected) // indexOf Expected substring: "Cannot find module 'not_a_real_handler' from 'packages/imperative/src/cmd/src/CommandProcessor.ts'" Received string: "Handler Instantiation Failed: Could not instantiate the handler not_a_real_handler for command banana Error Details: Cannot find module 'not_a_real_handler' from 'packages/imperative/src/cmd/CommandProcessor.ts' " at packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts:969:28 at fulfilled (packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts:15:58)
Config tests › getSchemaInfo › should provide information based on the $schema property: Local Path: packages/imperative/__tests__/__unit__/config/Config.unit.test.ts#L642
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "local": true, "original": "./packages/imperative/src/config/__tests__/__resources__/my_app.schema.json", - "resolved": "/home/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/__unit__/config/__resources__/my_app.schema.json", + "resolved": "/home/runner/work/zowe-cli/zowe-cli/packages/imperative/src/config/__tests__/__resources__/my_app.schema.json", } at packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:642:44 at fulfilled (packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:15:58)
Config tests › getSchemaInfo › should provide information based on the $schema property: Local Path not found: packages/imperative/__tests__/__unit__/config/Config.unit.test.ts#L679
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "local": true, "original": "./packages/imperative/src/config/__tests__/__resources__/FAKE.my_app.schema.json", - "resolved": "/home/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/__unit__/config/__resources__/FAKE.my_app.schema.json", + "resolved": "/home/runner/work/zowe-cli/zowe-cli/packages/imperative/src/config/__tests__/__resources__/FAKE.my_app.schema.json", } at packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:679:44 at fulfilled (packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:15:58)
Config Schema › Function: updateSchema › should update the schema without any parameters: packages/imperative/src/config/ConfigSchema.ts#L393
TypeError: Cannot read properties of null (reading 'profiles') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:393:102) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:374:33)
Config Schema › Function: updateSchema › should update the schema with a given schema and layer: packages/imperative/src/config/ConfigSchema.ts#L396
TypeError: Cannot read properties of undefined (reading 'api') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:396:30) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:389:33)
Config Schema › Function: updateSchema › should update the schema with a given schema: packages/imperative/src/config/ConfigSchema.ts#L396
TypeError: Cannot read properties of undefined (reading 'api') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:396:30) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:404:33)
Config Schema › Function: updateSchema › should throw an error if the layer is unknown: packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts#L427
expect(received).toContain(expected) // indexOf Expected substring: "Unrecognized layer parameter for ConfigSchema.updateSchemas" Received string: "Cannot read properties of undefined (reading 'api')" at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:427:41)
test (20.x, ubuntu-latest)
Process completed with exit code 1.
test (18.x, ubuntu-latest)
Process completed with exit code 1.
Command Response › If we create a progress bar: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L133
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:133:48)
Command Response › should allow the progress bar to write directly to a socket stream: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L162
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:162:48)
Command Response › If we create a progress bar: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L195
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:195:48)
Command Processor › should handle not being able to instantiate the handler: packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts#L969
expect(received).toContain(expected) // indexOf Expected substring: "Cannot find module 'not_a_real_handler' from 'packages/imperative/src/cmd/src/CommandProcessor.ts'" Received string: "Handler Instantiation Failed: Could not instantiate the handler not_a_real_handler for command banana Error Details: Cannot find module 'not_a_real_handler' from 'packages/imperative/src/cmd/CommandProcessor.ts' " at packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts:969:28 at fulfilled (packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts:15:58)
Config tests › getSchemaInfo › should provide information based on the $schema property: Local Path: packages/imperative/__tests__/__unit__/config/Config.unit.test.ts#L642
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "local": true, "original": "./packages/imperative/src/config/__tests__/__resources__/my_app.schema.json", - "resolved": "/home/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/__unit__/config/__resources__/my_app.schema.json", + "resolved": "/home/runner/work/zowe-cli/zowe-cli/packages/imperative/src/config/__tests__/__resources__/my_app.schema.json", } at packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:642:44 at fulfilled (packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:15:58)
Config tests › getSchemaInfo › should provide information based on the $schema property: Local Path not found: packages/imperative/__tests__/__unit__/config/Config.unit.test.ts#L679
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "local": true, "original": "./packages/imperative/src/config/__tests__/__resources__/FAKE.my_app.schema.json", - "resolved": "/home/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/__unit__/config/__resources__/FAKE.my_app.schema.json", + "resolved": "/home/runner/work/zowe-cli/zowe-cli/packages/imperative/src/config/__tests__/__resources__/FAKE.my_app.schema.json", } at packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:679:44 at fulfilled (packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:15:58)
BaseAuthHandler config › login › default layer › should fail if unable to securely save credentials: packages/imperative/src/imperative/auth/__tests__/BaseAuthHandler.config.unit.test.ts#L171
expect(received).toBeInstanceOf(expected) Expected constructor: ImperativeError Received constructor: ImperativeError at packages/imperative/src/imperative/auth/__tests__/BaseAuthHandler.config.unit.test.ts:171:37 at Generator.throw (<anonymous>) at rejected (packages/imperative/src/imperative/auth/__tests__/BaseAuthHandler.config.unit.test.ts:16:65)
Config Schema › Function: updateSchema › should update the schema without any parameters: packages/imperative/src/config/ConfigSchema.ts#L393
TypeError: Cannot read properties of null (reading 'profiles') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:393:102) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:374:33)
Config Schema › Function: updateSchema › should update the schema with a given schema and layer: packages/imperative/src/config/ConfigSchema.ts#L396
TypeError: Cannot read properties of undefined (reading 'api') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:396:30) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:389:33)
Config Schema › Function: updateSchema › should update the schema with a given schema: packages/imperative/src/config/ConfigSchema.ts#L396
TypeError: Cannot read properties of undefined (reading 'api') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:396:30) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:404:33)
Command Response › If we create a progress bar: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L133
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:133:48)
Command Response › should allow the progress bar to write directly to a socket stream: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L162
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:162:48)
Command Response › If we create a progress bar: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L195
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:195:48)
Command Processor › should handle not being able to instantiate the handler: packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts#L969
expect(received).toContain(expected) // indexOf Expected substring: "Cannot find module 'not_a_real_handler' from 'packages/imperative/src/cmd/src/CommandProcessor.ts'" Received string: "Handler Instantiation Failed: Could not instantiate the handler not_a_real_handler for command banana Error Details: Cannot find module 'not_a_real_handler' from 'packages/imperative/src/cmd/CommandProcessor.ts' " at packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts:969:28 at fulfilled (packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts:15:58)
Config tests › getSchemaInfo › should provide information based on the $schema property: Local Path: packages/imperative/__tests__/__unit__/config/Config.unit.test.ts#L642
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "local": true, "original": "./packages/imperative/src/config/__tests__/__resources__/my_app.schema.json", - "resolved": "/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/__unit__/config/__resources__/my_app.schema.json", + "resolved": "/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/src/config/__tests__/__resources__/my_app.schema.json", } at packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:642:44 at fulfilled (packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:15:58)
Config tests › getSchemaInfo › should provide information based on the $schema property: Local Path not found: packages/imperative/__tests__/__unit__/config/Config.unit.test.ts#L679
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "local": true, "original": "./packages/imperative/src/config/__tests__/__resources__/FAKE.my_app.schema.json", - "resolved": "/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/__unit__/config/__resources__/FAKE.my_app.schema.json", + "resolved": "/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/src/config/__tests__/__resources__/FAKE.my_app.schema.json", } at packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:679:44 at fulfilled (packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:15:58)
BaseAuthHandler config › login › default layer › should fail if unable to securely save credentials: packages/imperative/src/imperative/auth/__tests__/BaseAuthHandler.config.unit.test.ts#L171
expect(received).toBeInstanceOf(expected) Expected constructor: ImperativeError Received constructor: ImperativeError at packages/imperative/src/imperative/auth/__tests__/BaseAuthHandler.config.unit.test.ts:171:37 at Generator.throw (<anonymous>) at rejected (packages/imperative/src/imperative/auth/__tests__/BaseAuthHandler.config.unit.test.ts:16:65)
Config Schema › Function: updateSchema › should update the schema without any parameters: packages/imperative/src/config/ConfigSchema.ts#L393
TypeError: Cannot read properties of null (reading 'profiles') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:393:102) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:374:33)
Config Schema › Function: updateSchema › should update the schema with a given schema and layer: packages/imperative/src/config/ConfigSchema.ts#L396
TypeError: Cannot read properties of undefined (reading 'api') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:396:30) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:389:33)
Config Schema › Function: updateSchema › should update the schema with a given schema: packages/imperative/src/config/ConfigSchema.ts#L396
TypeError: Cannot read properties of undefined (reading 'api') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:396:30) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:404:33)
cmd-cli gen-webhelp example-test › should generate the help and display it: packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/gen-help/Cmd.cli.gen-webhelp.example-test.integration.test.ts#L57
expect(received).toBe(expected) // Object.is equality Expected: "" Received: "Error: The web-help distribution directory does not exist: \"/Users/runner/work/zowe-cli/zowe-cli/packages/web-help/dist\" " at Object.<anonymous> (packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/gen-help/Cmd.cli.gen-webhelp.example-test.integration.test.ts:57:44)
cmd-cli gen-webhelp example-test › should support the --rfj option: packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/gen-help/Cmd.cli.gen-webhelp.example-test.integration.test.ts#L79
expect(received).toContain(expected) // indexOf Expected substring: "\"success\": true" Received string: "{ \"success\": false, \"exitCode\": 1, \"message\": \"\", \"stdout\": \"Generating web help\", \"stderr\": \"Error: The web-help distribution directory does not exist:\\n \\\"/Users/runner/work/zowe-cli/zowe-cli/packages/web-help/dist\\\"\\n\", \"data\": {}, \"error\": { \"msg\": \"The web-help distribution directory does not exist:\\n \\\"/Users/runner/work/zowe-cli/zowe-cli/packages/web-help/dist\\\"\", \"stack\": \"Error: The web-help distribution directory does not exist:\\n \\\"/Users/runner/work/zowe-cli/zowe-cli/packages/web-help/dist\\\"\\n at WebHelpGenerator.buildHelp (/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/lib/cmd/help/WebHelpGenerator.js:59:19)\\n at WebHelpManager.openHelp (/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/lib/cmd/help/WebHelpManager.js:74:17)\\n at CommandProcessor.webHelp (/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/lib/cmd/CommandProcessor.js:190:54)\\n at CommandYargs.executeWebHelp (/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/lib/cmd/yargs/AbstractCommandYargs.js:308:16)\\n at CommandYargs.<anonymous> (/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/lib/cmd/yargs/CommandYargs.js:116:22)\\n at Generator.next (<anonymous>)\\n at /Users/runner/work/zowe-cli/zowe-cli/packages/imperative/lib/cmd/yargs/CommandYargs.js:18:71\\n at new Promise (<anonymous>)\\n at __awaiter (/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/lib/cmd/yargs/CommandYargs.js:14:12)\\n at Object.handler (/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/lib/cmd/yargs/CommandYargs.js:105:29)\" } }" at Object.<anonymous> (packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/gen-help/Cmd.cli.gen-webhelp.example-test.integration.test.ts:79:44)
test (20.x, macos-latest)
Process completed with exit code 1.
Command Response › If we create a progress bar: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L133
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:133:48)
Command Response › should allow the progress bar to write directly to a socket stream: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L162
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:162:48)
Command Response › If we create a progress bar: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L195
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:195:48)
Command Processor › should handle not being able to instantiate the handler: packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts#L969
expect(received).toContain(expected) // indexOf Expected substring: "Cannot find module 'not_a_real_handler' from 'packages/imperative/src/cmd/src/CommandProcessor.ts'" Received string: "Handler Instantiation Failed: Could not instantiate the handler not_a_real_handler for command banana Error Details: Cannot find module 'not_a_real_handler' from 'packages/imperative/src/cmd/CommandProcessor.ts' " at packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts:969:28 at fulfilled (packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts:15:58)
Config tests › getSchemaInfo › should provide information based on the $schema property: Local Path: packages/imperative/__tests__/__unit__/config/Config.unit.test.ts#L642
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "local": true, "original": "./packages/imperative/src/config/__tests__/__resources__/my_app.schema.json", - "resolved": "D:\\a\\zowe-cli\\zowe-cli\\packages\\imperative\\__tests__\\__unit__\\config\\__resources__\\my_app.schema.json", + "resolved": "D:\\a\\zowe-cli\\zowe-cli\\packages\\imperative\\src\\config\\__tests__\\__resources__\\my_app.schema.json", } at packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:642:44 at fulfilled (packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:15:58)
Config tests › getSchemaInfo › should provide information based on the $schema property: Local Path not found: packages/imperative/__tests__/__unit__/config/Config.unit.test.ts#L679
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "local": true, "original": "./packages/imperative/src/config/__tests__/__resources__/FAKE.my_app.schema.json", - "resolved": "D:\\a\\zowe-cli\\zowe-cli\\packages\\imperative\\__tests__\\__unit__\\config\\__resources__\\FAKE.my_app.schema.json", + "resolved": "D:\\a\\zowe-cli\\zowe-cli\\packages\\imperative\\src\\config\\__tests__\\__resources__\\FAKE.my_app.schema.json", } at packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:679:44 at fulfilled (packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:15:58)
Config Schema › Function: updateSchema › should update the schema without any parameters: packages/imperative/src/config/ConfigSchema.ts#L393
TypeError: Cannot read properties of null (reading 'profiles') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:393:102) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:374:33)
Config Schema › Function: updateSchema › should update the schema with a given schema and layer: packages/imperative/src/config/ConfigSchema.ts#L396
TypeError: Cannot read properties of undefined (reading 'api') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:396:30) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:389:33)
Config Schema › Function: updateSchema › should update the schema with a given schema: packages/imperative/src/config/ConfigSchema.ts#L396
TypeError: Cannot read properties of undefined (reading 'api') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:396:30) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:404:33)
Config Schema › Function: updateSchema › should throw an error if the layer is unknown: packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts#L427
expect(received).toContain(expected) // indexOf Expected substring: "Unrecognized layer parameter for ConfigSchema.updateSchemas" Received string: "Cannot read properties of undefined (reading 'api')" at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:427:41)
cmd-cli gen-webhelp example-test › should generate the help and display it: packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/gen-help/Cmd.cli.gen-webhelp.example-test.integration.test.ts#L57
expect(received).toBe(expected) // Object.is equality Expected: "" Received: "Error: The web-help distribution directory does not exist: \"D:\\a\\zowe-cli\\zowe-cli\\packages\\web-help\\dist\" " at Object.<anonymous> (packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/gen-help/Cmd.cli.gen-webhelp.example-test.integration.test.ts:57:44)
cmd-cli gen-webhelp example-test › should support the --rfj option: packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/gen-help/Cmd.cli.gen-webhelp.example-test.integration.test.ts#L79
expect(received).toContain(expected) // indexOf Expected substring: "\"success\": true" Received string: "{ \"success\": false, \"exitCode\": 1, \"message\": \"\", \"stdout\": \"Generating web help\", \"stderr\": \"Error: The web-help distribution directory does not exist:\\n \\\"D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\web-help\\\\dist\\\"\\n\", \"data\": {}, \"error\": { \"msg\": \"The web-help distribution directory does not exist:\\n \\\"D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\web-help\\\\dist\\\"\", \"stack\": \"Error: The web-help distribution directory does not exist:\\n \\\"D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\web-help\\\\dist\\\"\\n at WebHelpGenerator.buildHelp (D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\imperative\\\\lib\\\\cmd\\\\help\\\\WebHelpGenerator.js:59:19)\\n at WebHelpManager.openHelp (D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\imperative\\\\lib\\\\cmd\\\\help\\\\WebHelpManager.js:74:17)\\n at CommandProcessor.webHelp (D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\imperative\\\\lib\\\\cmd\\\\CommandProcessor.js:190:54)\\n at CommandYargs.executeWebHelp (D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\imperative\\\\lib\\\\cmd\\\\yargs\\\\AbstractCommandYargs.js:308:16)\\n at CommandYargs.<anonymous> (D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\imperative\\\\lib\\\\cmd\\\\yargs\\\\CommandYargs.js:116:22)\\n at Generator.next (<anonymous>)\\n at D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\imperative\\\\lib\\\\cmd\\\\yargs\\\\CommandYargs.js:18:71\\n at new Promise (<anonymous>)\\n at __awaiter (D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\imperative\\\\lib\\\\cmd\\\\yargs\\\\CommandYargs.js:14:12)\\n at Object.handler (D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\imperative\\\\lib\\\\cmd\\\\yargs\\\\CommandYargs.js:105:29)\" } }" at Object.<anonymous> (packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/gen-help/Cmd.cli.gen-webhelp.example-test.integration.test.ts:79:44)
test (20.x, windows-latest)
Process completed with exit code 1.
Command Response › If we create a progress bar: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L133
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:133:48)
Command Response › should allow the progress bar to write directly to a socket stream: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L162
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:162:48)
Command Response › If we create a progress bar: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L195
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:195:48)
Command Processor › should handle not being able to instantiate the handler: packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts#L969
expect(received).toContain(expected) // indexOf Expected substring: "Cannot find module 'not_a_real_handler' from 'packages/imperative/src/cmd/src/CommandProcessor.ts'" Received string: "Handler Instantiation Failed: Could not instantiate the handler not_a_real_handler for command banana Error Details: Cannot find module 'not_a_real_handler' from 'packages/imperative/src/cmd/CommandProcessor.ts' " at packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts:969:28 at fulfilled (packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts:15:58)
Config tests › getSchemaInfo › should provide information based on the $schema property: Local Path: packages/imperative/__tests__/__unit__/config/Config.unit.test.ts#L642
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "local": true, "original": "./packages/imperative/src/config/__tests__/__resources__/my_app.schema.json", - "resolved": "/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/__unit__/config/__resources__/my_app.schema.json", + "resolved": "/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/src/config/__tests__/__resources__/my_app.schema.json", } at packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:642:44 at fulfilled (packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:15:58)
Config tests › getSchemaInfo › should provide information based on the $schema property: Local Path not found: packages/imperative/__tests__/__unit__/config/Config.unit.test.ts#L679
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "local": true, "original": "./packages/imperative/src/config/__tests__/__resources__/FAKE.my_app.schema.json", - "resolved": "/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/__tests__/__unit__/config/__resources__/FAKE.my_app.schema.json", + "resolved": "/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/src/config/__tests__/__resources__/FAKE.my_app.schema.json", } at packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:679:44 at fulfilled (packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:15:58)
Config Schema › Function: updateSchema › should update the schema without any parameters: packages/imperative/src/config/ConfigSchema.ts#L393
TypeError: Cannot read properties of null (reading 'profiles') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:393:102) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:374:33)
Config Schema › Function: updateSchema › should update the schema with a given schema and layer: packages/imperative/src/config/ConfigSchema.ts#L396
TypeError: Cannot read properties of undefined (reading 'api') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:396:30) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:389:33)
Config Schema › Function: updateSchema › should update the schema with a given schema: packages/imperative/src/config/ConfigSchema.ts#L396
TypeError: Cannot read properties of undefined (reading 'api') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:396:30) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:404:33)
Config Schema › Function: updateSchema › should throw an error if the layer is unknown: packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts#L427
expect(received).toContain(expected) // indexOf Expected substring: "Unrecognized layer parameter for ConfigSchema.updateSchemas" Received string: "Cannot read properties of undefined (reading 'api')" at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:427:41)
cmd-cli gen-webhelp example-test › should generate the help and display it: packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/gen-help/Cmd.cli.gen-webhelp.example-test.integration.test.ts#L57
expect(received).toBe(expected) // Object.is equality Expected: "" Received: "Error: The web-help distribution directory does not exist: \"/Users/runner/work/zowe-cli/zowe-cli/packages/web-help/dist\" " at Object.<anonymous> (packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/gen-help/Cmd.cli.gen-webhelp.example-test.integration.test.ts:57:44)
cmd-cli gen-webhelp example-test › should support the --rfj option: packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/gen-help/Cmd.cli.gen-webhelp.example-test.integration.test.ts#L79
expect(received).toContain(expected) // indexOf Expected substring: "\"success\": true" Received string: "{ \"success\": false, \"exitCode\": 1, \"message\": \"\", \"stdout\": \"Generating web help\", \"stderr\": \"Error: The web-help distribution directory does not exist:\\n \\\"/Users/runner/work/zowe-cli/zowe-cli/packages/web-help/dist\\\"\\n\", \"data\": {}, \"error\": { \"msg\": \"The web-help distribution directory does not exist:\\n \\\"/Users/runner/work/zowe-cli/zowe-cli/packages/web-help/dist\\\"\", \"stack\": \"Error: The web-help distribution directory does not exist:\\n \\\"/Users/runner/work/zowe-cli/zowe-cli/packages/web-help/dist\\\"\\n at WebHelpGenerator.buildHelp (/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/lib/cmd/help/WebHelpGenerator.js:59:19)\\n at WebHelpManager.openHelp (/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/lib/cmd/help/WebHelpManager.js:74:17)\\n at CommandProcessor.webHelp (/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/lib/cmd/CommandProcessor.js:190:54)\\n at CommandYargs.executeWebHelp (/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/lib/cmd/yargs/AbstractCommandYargs.js:308:16)\\n at CommandYargs.<anonymous> (/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/lib/cmd/yargs/CommandYargs.js:116:22)\\n at Generator.next (<anonymous>)\\n at /Users/runner/work/zowe-cli/zowe-cli/packages/imperative/lib/cmd/yargs/CommandYargs.js:18:71\\n at new Promise (<anonymous>)\\n at __awaiter (/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/lib/cmd/yargs/CommandYargs.js:14:12)\\n at Object.handler (/Users/runner/work/zowe-cli/zowe-cli/packages/imperative/lib/cmd/yargs/CommandYargs.js:105:29)\" } }" at Object.<anonymous> (packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/gen-help/Cmd.cli.gen-webhelp.example-test.integration.test.ts:79:44)
test (18.x, macos-latest)
Process completed with exit code 1.
Command Response › If we create a progress bar: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L133
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:133:48)
Command Response › should allow the progress bar to write directly to a socket stream: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L162
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:162:48)
Command Response › If we create a progress bar: packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts#L195
expect(received).toBeDefined() Received: undefined at Object.<anonymous> (packages/imperative/__tests__/__unit__/cmd/response/CommandResponse.unit.test.ts:195:48)
Command Processor › should handle not being able to instantiate the handler: packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts#L969
expect(received).toContain(expected) // indexOf Expected substring: "Cannot find module 'not_a_real_handler' from 'packages/imperative/src/cmd/src/CommandProcessor.ts'" Received string: "Handler Instantiation Failed: Could not instantiate the handler not_a_real_handler for command banana Error Details: Cannot find module 'not_a_real_handler' from 'packages/imperative/src/cmd/CommandProcessor.ts' " at packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts:969:28 at fulfilled (packages/imperative/__tests__/__unit__/cmd/CommandProcessor.unit.test.ts:15:58)
Config tests › getSchemaInfo › should provide information based on the $schema property: Local Path: packages/imperative/__tests__/__unit__/config/Config.unit.test.ts#L642
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "local": true, "original": "./packages/imperative/src/config/__tests__/__resources__/my_app.schema.json", - "resolved": "D:\\a\\zowe-cli\\zowe-cli\\packages\\imperative\\__tests__\\__unit__\\config\\__resources__\\my_app.schema.json", + "resolved": "D:\\a\\zowe-cli\\zowe-cli\\packages\\imperative\\src\\config\\__tests__\\__resources__\\my_app.schema.json", } at packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:642:44 at fulfilled (packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:15:58)
Config tests › getSchemaInfo › should provide information based on the $schema property: Local Path not found: packages/imperative/__tests__/__unit__/config/Config.unit.test.ts#L679
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "local": true, "original": "./packages/imperative/src/config/__tests__/__resources__/FAKE.my_app.schema.json", - "resolved": "D:\\a\\zowe-cli\\zowe-cli\\packages\\imperative\\__tests__\\__unit__\\config\\__resources__\\FAKE.my_app.schema.json", + "resolved": "D:\\a\\zowe-cli\\zowe-cli\\packages\\imperative\\src\\config\\__tests__\\__resources__\\FAKE.my_app.schema.json", } at packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:679:44 at fulfilled (packages/imperative/__tests__/__unit__/config/Config.unit.test.ts:15:58)
Config Schema › Function: updateSchema › should update the schema without any parameters: packages/imperative/src/config/ConfigSchema.ts#L393
TypeError: Cannot read properties of null (reading 'profiles') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:393:102) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:374:33)
Config Schema › Function: updateSchema › should update the schema with a given schema and layer: packages/imperative/src/config/ConfigSchema.ts#L396
TypeError: Cannot read properties of undefined (reading 'api') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:396:30) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:389:33)
Config Schema › Function: updateSchema › should update the schema with a given schema: packages/imperative/src/config/ConfigSchema.ts#L396
TypeError: Cannot read properties of undefined (reading 'api') at Function.updateSchema (packages/imperative/src/config/ConfigSchema.ts:396:30) at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:404:33)
Config Schema › Function: updateSchema › should throw an error if the layer is unknown: packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts#L427
expect(received).toContain(expected) // indexOf Expected substring: "Unrecognized layer parameter for ConfigSchema.updateSchemas" Received string: "Cannot read properties of undefined (reading 'api')" at Object.<anonymous> (packages/imperative/__tests__/__unit__/config/ConfigSchema.unit.test.ts:427:41)
cmd-cli gen-webhelp example-test › should generate the help and display it: packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/gen-help/Cmd.cli.gen-webhelp.example-test.integration.test.ts#L57
expect(received).toBe(expected) // Object.is equality Expected: "" Received: "Error: The web-help distribution directory does not exist: \"D:\\a\\zowe-cli\\zowe-cli\\packages\\web-help\\dist\" " at Object.<anonymous> (packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/gen-help/Cmd.cli.gen-webhelp.example-test.integration.test.ts:57:44)
cmd-cli gen-webhelp example-test › should support the --rfj option: packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/gen-help/Cmd.cli.gen-webhelp.example-test.integration.test.ts#L79
expect(received).toContain(expected) // indexOf Expected substring: "\"success\": true" Received string: "{ \"success\": false, \"exitCode\": 1, \"message\": \"\", \"stdout\": \"Generating web help\", \"stderr\": \"Error: The web-help distribution directory does not exist:\\n \\\"D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\web-help\\\\dist\\\"\\n\", \"data\": {}, \"error\": { \"msg\": \"The web-help distribution directory does not exist:\\n \\\"D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\web-help\\\\dist\\\"\", \"stack\": \"Error: The web-help distribution directory does not exist:\\n \\\"D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\web-help\\\\dist\\\"\\n at WebHelpGenerator.buildHelp (D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\imperative\\\\lib\\\\cmd\\\\help\\\\WebHelpGenerator.js:59:19)\\n at WebHelpManager.openHelp (D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\imperative\\\\lib\\\\cmd\\\\help\\\\WebHelpManager.js:74:17)\\n at CommandProcessor.webHelp (D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\imperative\\\\lib\\\\cmd\\\\CommandProcessor.js:190:54)\\n at CommandYargs.executeWebHelp (D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\imperative\\\\lib\\\\cmd\\\\yargs\\\\AbstractCommandYargs.js:308:16)\\n at CommandYargs.<anonymous> (D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\imperative\\\\lib\\\\cmd\\\\yargs\\\\CommandYargs.js:116:22)\\n at Generator.next (<anonymous>)\\n at D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\imperative\\\\lib\\\\cmd\\\\yargs\\\\CommandYargs.js:18:71\\n at new Promise (<anonymous>)\\n at __awaiter (D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\imperative\\\\lib\\\\cmd\\\\yargs\\\\CommandYargs.js:14:12)\\n at Object.handler (D:\\\\a\\\\zowe-cli\\\\zowe-cli\\\\packages\\\\imperative\\\\lib\\\\cmd\\\\yargs\\\\CommandYargs.js:105:29)\" } }" at Object.<anonymous> (packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/gen-help/Cmd.cli.gen-webhelp.example-test.integration.test.ts:79:44)
test (18.x, windows-latest)
Process completed with exit code 1.
test (20.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3, t1m0thyj/unlock-keyring@v1, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (18.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3, t1m0thyj/unlock-keyring@v1, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (20.x, macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (20.x, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (18.x, macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (18.x, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
macos-latest-18.x-results Expired
21.5 MB
macos-latest-20.x-results Expired
21.5 MB
ubuntu-latest-18.x-results Expired
21.5 MB
ubuntu-latest-20.x-results Expired
21.5 MB
windows-latest-18.x-results Expired
21.5 MB
windows-latest-20.x-results Expired
21.5 MB
zowe-macos-latest.tgz Expired
1.45 MB
zowe-ubuntu-latest.tgz Expired
6.71 MB
zowe-windows-latest.tgz Expired
895 KB