Skip to content

Commit

Permalink
fixup! fixup! add test for parent dir
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Jan 10, 2024
1 parent fd74e07 commit 6e1e11c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Use.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ describe(`UseCommand`, () => {
await xfs.mktempPromise(async cwd => {
await expect(runCli(cwd, [`use`, `[email protected]`])).resolves.toMatchObject({
exitCode: 0,
stdout: ``,
stderr: ``,
stderr: `warning package.json: No license field\nwarning No license field\n`,
});

await expect(xfs.readJsonPromise(ppath.join(cwd, `package.json`))).resolves.toMatchObject({
Expand All @@ -55,6 +54,7 @@ describe(`UseCommand`, () => {

await expect(runCli(subfolder, [`use`, `[email protected]`])).resolves.toMatchObject({
exitCode: 0,
stderr: ``,
});
await expect(runCli(cwd, [`yarn`, `--version`])).resolves.toMatchObject({
exitCode: 0,
Expand Down

0 comments on commit 6e1e11c

Please sign in to comment.