fix: fallback to shasum
when integrity
is not defined
#1098
ci.yml
on: pull_request
Testing chores
20s
Matrix: build-and-test
Annotations
84 errors
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.13e0e63604dee098661c3fc33e5f1851ca05f8c7.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.13e0e63604dee098661c3fc33e5f1851ca05f8c7.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.13e0e63604dee098661c3fc33e5f1851ca05f8c7.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v22.5.0
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v22.5.0
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v22.5.0
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
macos-latest w/ Node.js 22.x
Process completed with exit code 1.
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.200615a6a8a1f376c9d0543059e5abafc236e524.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.200615a6a8a1f376c9d0543059e5abafc236e524.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.200615a6a8a1f376c9d0543059e5abafc236e524.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v22.5.0
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v22.5.0
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v22.5.0
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
ubuntu-latest w/ Node.js 22.x
Process completed with exit code 1.
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.13e0e63604dee098661c3fc33e5f1851ca05f8c7.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.13e0e63604dee098661c3fc33e5f1851ca05f8c7.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.13e0e63604dee098661c3fc33e5f1851ca05f8c7.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.13e0e63604dee098661c3fc33e5f1851ca05f8c7.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.13e0e63604dee098661c3fc33e5f1851ca05f8c7.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.13e0e63604dee098661c3fc33e5f1851ca05f8c7.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v20.15.1
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v20.15.1
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "yarn: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21864:7)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22292:32)
+ at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22392:25)
+ at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v18.20.4
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v20.15.1
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "yarn: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21864:7)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22292:32)
+ at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22392:25)
+ at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v18.20.4
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "yarn: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at installVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21864:7)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async Engine.ensurePackageManager (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22292:32)
+ at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22392:25)
+ at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v18.20.4
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
macos-latest w/ Node.js 20.x
Process completed with exit code 1.
|
macos-latest w/ Node.js 18.x
Process completed with exit code 1.
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.13e0e63604dee098661c3fc33e5f1851ca05f8c7.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.13e0e63604dee098661c3fc33e5f1851ca05f8c7.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.13e0e63604dee098661c3fc33e5f1851ca05f8c7.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v21.7.3
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v21.7.3
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v21.7.3
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
macos-latest w/ Node.js 21.x
Process completed with exit code 1.
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.200615a6a8a1f376c9d0543059e5abafc236e524.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.200615a6a8a1f376c9d0543059e5abafc236e524.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.200615a6a8a1f376c9d0543059e5abafc236e524.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "yarn: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21864:7)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22292:32)
+ at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22392:25)
+ at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v18.20.4
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v18.20.4
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "yarn: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21864:7)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22292:32)
+ at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22392:25)
+ at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v18.20.4
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
ubuntu-latest w/ Node.js 18.x
Process completed with exit code 1.
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.200615a6a8a1f376c9d0543059e5abafc236e524.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.200615a6a8a1f376c9d0543059e5abafc236e524.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.200615a6a8a1f376c9d0543059e5abafc236e524.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "yarn: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21864:7)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22292:32)
+ at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22392:25)
+ at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v20.15.1
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v20.15.1
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "yarn: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at installVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21864:7)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async Engine.ensurePackageManager (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22292:32)
+ at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22392:25)
+ at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v20.15.1
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
ubuntu-latest w/ Node.js 20.x
Process completed with exit code 1.
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.200615a6a8a1f376c9d0543059e5abafc236e524.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.200615a6a8a1f376c9d0543059e5abafc236e524.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.200615a6a8a1f376c9d0543059e5abafc236e524.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v21.7.3
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v21.7.3
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21528:11)
+ at fetchLatestStableVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:22372:47)
+ at async Object.runMain (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:23078:5)
+
+ Node.js v21.7.3
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
ubuntu-latest w/ Node.js 21.x
Process completed with exit code 1.
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.77e133df93688a449ed457b4045390b21b10cc7a.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.77e133df93688a449ed457b4045390b21b10cc7a.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.77e133df93688a449ed457b4045390b21b10cc7a.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528:11)
+ at fetchLatestStableVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22372:47)
+ at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23078:5)
+
+ Node.js v21.7.3
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528:11)
+ at fetchLatestStableVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22372:47)
+ at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23078:5)
+
+ Node.js v21.7.3
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528:11)
+ at fetchLatestStableVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22372:47)
+ at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23078:5)
+
+ Node.js v21.7.3
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
windows-latest w/ Node.js 21.x
Process completed with exit code 1.
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.77e133df93688a449ed457b4045390b21b10cc7a.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.77e133df93688a449ed457b4045390b21b10cc7a.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.77e133df93688a449ed457b4045390b21b10cc7a.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528:11)
+ at fetchLatestStableVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22372:47)
+ at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23078:5)
+
+ Node.js v22.5.0
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528:11)
+ at fetchLatestStableVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22372:47)
+ at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23078:5)
+
+ Node.js v22.5.0
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528:11)
+ at fetchLatestStableVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22372:47)
+ at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23078:5)
+
+ Node.js v22.5.0
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
windows-latest w/ Node.js 22.x
Process completed with exit code 1.
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.77e133df93688a449ed457b4045390b21b10cc7a.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.77e133df93688a449ed457b4045390b21b10cc7a.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.77e133df93688a449ed457b4045390b21b10cc7a.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528:11)
+ at fetchLatestStableVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22372:47)
+ at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23078:5)
+
+ Node.js v18.20.4
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528:11)
+ at fetchLatestStableVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22372:47)
+ at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23078:5)
+
+ Node.js v18.20.4
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528:11)
+ at fetchLatestStableVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22372:47)
+ at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23078:5)
+
+ Node.js v18.20.4
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
windows-latest w/ Node.js 18.x
Process completed with exit code 1.
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.77e133df93688a449ed457b4045390b21b10cc7a.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.77e133df93688a449ed457b4045390b21b10cc7a.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > should download latest pnpm from custom registry:
tests/main.test.ts#L899
AssertionError: expected { exitCode: +0, …(2) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
"exitCode": 0,
- "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.d862ca5bedaa7d2328b8bde6ce2bac5141681f48.
+ "stderr": "! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.77e133df93688a449ed457b4045390b21b10cc7a.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
",
"stdout": "pnpm: Hello from custom registry
",
}
❯ tests/main.test.ts:899:5
❯ 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:891:3
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528:11)
+ at fetchLatestStableVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22372:47)
+ at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23078:5)
+
+ Node.js v20.15.1
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528:11)
+ at fetchLatestStableVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22372:47)
+ at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23078:5)
+
+ Node.js v20.15.1
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
tests/main.test.ts > handle integrity checks > should return no error when signature matches:
tests/main.test.ts#L979
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) }
- Expected
+ Received
Object {
- "exitCode": 0,
- "stderr": "",
- "stdout": "pnpm: Hello from custom registry
+ "exitCode": 1,
+ "stderr": "D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528
+ throw new Error(`Signature does not match`);
+ ^
+
+ Error: Signature does not match
+ at verifySignature (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21528:11)
+ at fetchLatestStableVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21535:5)
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
+ at async fetchLatestStableVersion2 (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:21654:14)
+ at async Engine.getDefaultVersion (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22274:23)
+ at async Engine.executePackageManagerRequest (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:22372:47)
+ at async Object.runMain (D:\\a\\corepack\\corepack\\dist\\lib\\corepack.cjs:23078:5)
+
+ Node.js v20.15.1
",
+ "stdout": "",
}
❯ tests/main.test.ts:979: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:978:5
|
windows-latest w/ Node.js 20.x
Process completed with exit code 1.
|