chore(tests): prefer --install-directory over PATH manipulation
#797
Annotations
4 errors
|
Run corepack yarn test
Process completed with exit code 1.
|
|
Run corepack yarn test:
tests/Disable.test.ts#L110
AssertionError: expected { Object (exitCode, stdout, ...) } to match object { stdout: '', …(2) }
- Expected
+ Received
{
"exitCode": 0,
- "stderr": StringMatching /^yarn is already installed in .+ and points to a Yarn Switch install - skipping\n$/,
+ "stderr": "",
"stdout": "",
}
❯ tests/Disable.test.ts:110:7
❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.4-5a9daa47cb-d38e108a63.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24
❯ tests/Disable.test.ts:101:5
|
|
Run corepack yarn test:
tests/Disable.test.ts#L110
AssertionError: expected { Object (exitCode, stdout, ...) } to match object { stdout: '', …(2) }
- Expected
+ Received
{
"exitCode": 0,
- "stderr": StringMatching /^yarn is already installed in .+ and points to a Yarn Switch install - skipping\n$/,
+ "stderr": "",
"stdout": "",
}
❯ tests/Disable.test.ts:110:7
❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.4-5a9daa47cb-d38e108a63.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24
❯ tests/Disable.test.ts:101:5
|
|
Run corepack yarn test:
tests/Disable.test.ts#L110
AssertionError: expected { Object (exitCode, stdout, ...) } to match object { stdout: '', …(2) }
- Expected
+ Received
{
"exitCode": 0,
- "stderr": StringMatching /^yarn is already installed in .+ and points to a Yarn Switch install - skipping\n$/,
+ "stderr": "",
"stdout": "",
}
❯ tests/Disable.test.ts:110:7
❯ NodeFS.mktempPromise .yarn/cache/@yarnpkg-fslib-npm-3.1.4-5a9daa47cb-d38e108a63.zip/node_modules/@yarnpkg/fslib/lib/xfs.js:86:24
❯ tests/Disable.test.ts:101:5
|
Loading