Tests #34
ci.yml
on: workflow_dispatch
Testing chores
18s
Matrix: build-and-test
Annotations
4 errors and 1 warning
tests/main.test.ts > handle integrity checks > should return an error when signature does not match with a tag:
tests/main.test.ts#L1024
AssertionError: expected { exitCode: 3221226505, …(2) } to match object { exitCode: 1, …(2) }
- Expected
+ Received
Object {
- "exitCode": 1,
- "stderr": /Signature does not match/,
+ "exitCode": 3221226505,
+ "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21553
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21553:11)
+ at installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21889:7)
+ at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22323:32)
+ at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22423:25)
+ at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23110:7)
+
+ Node.js v23.6.1
+ Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file c:\\ws\\deps\\uv\\src\\win\\async.c, line 76
+ ",
"stdout": "",
}
❯ tests/main.test.ts:1024:7
❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24
❯ tests/main.test.ts:1023:5
|
tests/main.test.ts > handle integrity checks > should return an error when signature does not match with a tag:
tests/main.test.ts#L1024
AssertionError: expected { exitCode: 3221226505, …(2) } to match object { exitCode: 1, …(2) }
- Expected
+ Received
Object {
- "exitCode": 1,
- "stderr": /Signature does not match/,
+ "exitCode": 3221226505,
+ "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21553
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21553:11)
+ at installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21889:7)
+ at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22323:32)
+ at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22423:25)
+ at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23110:7)
+
+ Node.js v23.6.1
+ Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file c:\\ws\\deps\\uv\\src\\win\\async.c, line 76
+ ",
"stdout": "",
}
❯ tests/main.test.ts:1024:7
❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24
❯ tests/main.test.ts:1023:5
|
tests/main.test.ts > handle integrity checks > should return an error when signature does not match with a tag:
tests/main.test.ts#L1024
AssertionError: expected { exitCode: 3221226505, …(2) } to match object { exitCode: 1, …(2) }
- Expected
+ Received
Object {
- "exitCode": 1,
- "stderr": /Signature does not match/,
+ "exitCode": 3221226505,
+ "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21553
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21553:11)
+ at installVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21889:7)
+ at async Engine.ensurePackageManager (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22323:32)
+ at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22423:25)
+ at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23110:7)
+
+ Node.js v23.6.1
+ Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file c:\\ws\\deps\\uv\\src\\win\\async.c, line 76
+ ",
"stdout": "",
}
❯ tests/main.test.ts:1024:7
❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.0-821f4faf89-e327aaf73f.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24
❯ tests/main.test.ts:1023:5
|
windows-2025 w/ Node.js 23.x
Process completed with exit code 1.
|
Testing chores:
sources/main.ts#L2
'UsageError' is defined but never used
|