Skip to content

Commit

Permalink
Pass env vars on explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
andywer committed Dec 19, 2019
1 parent cee9869 commit 621baea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/rollup/rollup.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ test("can be bundled using rollup", async t => {
})
])

console.log("Env vars:", { ...process.env, CODECLIMATE_REPO_TOKEN: undefined, COVERALLS_REPO_TOKEN: undefined })

const result = await execa("puppet-run", ["--serve", "./test/rollup/dist/worker.js:/worker.js", "./test/rollup/dist/app.js"], {
cwd: path.resolve(__dirname, "..", ".."),
env: process.env,
localDir: path.resolve(__dirname, "..", ".."),
preferLocal: true,
stderr: process.stderr
Expand Down

0 comments on commit 621baea

Please sign in to comment.