Skip to content

Commit

Permalink
Node v8 doesn't like --require=..., only --require ...
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed May 18, 2019
1 parent 1228e06 commit 5b9982e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/run/ts.js
Expand Up @@ -39,7 +39,7 @@ t.test('ts manually', t => {
import * as t from ${tap}
t.pass('this is fine')
`)
const args = [ok, foots, '--no-ts', '--node-arg=--require=ts-node/register']
const args = [ok, foots, '--no-ts', '--node-arg=--require', '--node-arg=ts-node/register']
run(args, {}, (er, o, e) => {
t.equal(er, null)
t.matchSnapshot(o)
Expand Down

0 comments on commit 5b9982e

Please sign in to comment.