Skip to content

Commit

Permalink
Simplify tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 20, 2019
1 parent 4f5c48c commit 5fa0118
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/helpers/snapshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ const getExecaOpts = function({
// `INPUT`, which is a JSON object.
const input = JSON.stringify({ command, opts, buffer, read })

// The `verbose` option depends on the `CI` variable. We ensure tests are
// predictable regardless on whether they are run in CI.
const execaEnv = { INPUT: input, CI: '1', ...env }
const execaEnv = { INPUT: input, ...env }
return { reject: false, env: execaEnv, ...execaOpts }
}

0 comments on commit 5fa0118

Please sign in to comment.