test: setup tests for the CLI #272
Annotations
3 errors and 1 warning
Test the package:
test/commands/base.test.ts#L10
AssertionError: expected '' to contain 'init initialize a new project'
- Expected
+ Received
- init initialize a new project
❯ test/commands/base.test.ts:10:22
❯ processTicksAndRejections node:internal/process/task_queues:95:5
❯ Module.runInDir test/cli-utils.ts:91:5
This error originated in "test/commands/base.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "test/commands/base.test.ts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Test the package:
test/commands/init.test.ts#L13
AssertionError: expected '' to contain 'existing package.json file'
- Expected
+ Received
- existing package.json file
❯ test/commands/init.test.ts:13:22
❯ processTicksAndRejections node:internal/process/task_queues:95:5
❯ Module.runInDir test/cli-utils.ts:91:5
This error originated in "test/commands/init.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "test/commands/init.test.ts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Test the package
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading