Fixes return value

This commit is contained in:
Maël Nison 2020-05-08 01:46:52 +02:00
parent d592c12eca
commit c754806d54
1 changed files with 1 additions and 1 deletions

View File

@ -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 expect(runCli(cwd, [`yarn`])).resolves.toMatchObject({
exitCode: 1,
exitCode: 0,
});
await expect(spy).toHaveBeenCalledTimes(1);