Skip to content

Merge pull request #51 from publicodes/feat-cli-dev #303

Merge pull request #51 from publicodes/feat-cli-dev

Merge pull request #51 from publicodes/feat-cli-dev #303

Triggered via push January 27, 2025 21:00
Status Failure
Total duration 43s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
Unhandled error: test/commands/init.test.ts#L43
AssertionError: expected { …(12) } to match object { …(11) } (6 matching properties omitted from actual) - Expected + Received Object { "author": "", "description": "", "devDependencies": Object { - "@publicodes/tools": "", + "@types/jest": "^29.5.13", + "vitest": "^2.1.2", }, "files": Array [ "publicodes-build", ], "license": "MIT", "main": "publicodes-build/index.js", "name": "publicodes-cli-test-3ssWCV", "peerDependencies": Object { "publicodes": "^1.5.1", }, "type": "module", "types": "publicodes-build/index.d.ts", "version": "1.0.0", } ❯ Proxy.<anonymous> node_modules/@vitest/expect/dist/index.js:1134:13 ❯ Proxy.<anonymous> node_modules/@vitest/expect/dist/index.js:972:17 ❯ Proxy.methodWrapper node_modules/chai/chai.js:1610:25 ❯ test/commands/init.test.ts:43:27 ❯ 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.
main
Process completed with exit code 1.
main
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636