mirror of https://github.com/nodejs/corepack.git
Fixes return value
This commit is contained in:
parent
d592c12eca
commit
c754806d54
|
|
@ -38,7 +38,7 @@ it(`should request for the project to be configured if it doesn't exist`, async
|
||||||
|
|
||||||
await xfs.mktempPromise(async cwd => {
|
await xfs.mktempPromise(async cwd => {
|
||||||
await expect(runCli(cwd, [`yarn`])).resolves.toMatchObject({
|
await expect(runCli(cwd, [`yarn`])).resolves.toMatchObject({
|
||||||
exitCode: 1,
|
exitCode: 0,
|
||||||
});
|
});
|
||||||
|
|
||||||
await expect(spy).toHaveBeenCalledTimes(1);
|
await expect(spy).toHaveBeenCalledTimes(1);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue