Skip to content

Commit

Permalink
test(integration): avoid quoting arguments to coddle windows
Browse files Browse the repository at this point in the history
  • Loading branch information
evocateur committed Sep 8, 2018
1 parent b084293 commit ac0baa7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration/lerna-publish-lifecycle-errors.test.js
Expand Up @@ -25,7 +25,7 @@ test("lerna publish lifecycle scripts stop on non-zero exit", async () => {
const rootManifest = path.join(cwd, "package.json");
const json = await fs.readJson(rootManifest);

json.scripts.preversion = "echo 'bombs away' && exit 123";
json.scripts.preversion = "echo boom && exit 123";
// console.log(json);

await fs.writeJson(rootManifest, json);
Expand All @@ -44,9 +44,9 @@ Changes:
> lifecycle@0.0.0-monorepo preversion __TEST_ROOTDIR__
> echo 'bombs away' && exit 123
> echo boom && exit 123
bombs away
boom
`);
expect(err.stderr).toMatchInlineSnapshot(`
Expand Down

0 comments on commit ac0baa7

Please sign in to comment.