feat(command/init): generate README and src/base.publicodes #277
Annotations
2 errors and 1 warning
test/commands/init.test.ts#L20
AssertionError: expected '\u001b[90m┌\u001b[39m publicodes in…' to contain 'Publicodes is ready to use 🚀 '
- Expected
+ Received
- Publicodes is ready to use 🚀
+ ┌ publicodes init
+ │
+ ● Updating existing package.json file
+ │
+ ◇ package.json file written
+ │
+ ◒ Installing dependencies with yarn◐ Installing dependencies with yarn◓ Installing dependencies with yarn◑ Installing dependencies with yarn◒ Installing dependencies with yarn◐ Installing dependencies with yarn◓ Installing dependencies with yarn◑ Installing dependencies with yarn◒ Installing dependencies with yarn.◐ Installing dependencies with yarn.◓ Installing dependencies with yarn.◑ Installing dependencies with yarn.◒ Installing dependencies with yarn.◐ Installing dependencies with yarn.◓ Installing dependencies with yarn.◑ Installing dependencies with yarn.◒ Installing dependencies with yarn..◐ Installing dependencies with yarn..◇ Dependencies installed
+ │
+ ◇ Files generated
+ │
+ ◇ Publicodes is ready to use 🚀 ──────────╮
+ │ │
+ │ You can now: │
+ │ - write your Publicodes rules in .src/ │
+ │ - compile them using: yarn run compile │
+ │ │
+ ├──────────────────────────────────────────╯
+ │
+ └ New to publicodes? Learn more at https://publi.codes/docs
+
+
❯ test/commands/init.test.ts:20: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.
|
|
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/
|
This job failed
Loading