Skip to content

Commit

Permalink
chore: Fix es-module test to check for absolute file path in error. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyfarrell authored Mar 7, 2019
1 parent 596b120 commit e501d86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/nyc-integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ describe('the nyc cli', function () {
proc.on('close', function (code) {
code.should.equal(1)
stdoutShouldEqual(stderr, `
Failed to instrument ./not-strict.js`)
Failed to instrument ${path.resolve(fixturesCLI, 'not-strict.js')}`)
const subdirExists = fs.existsSync(path.resolve(fixturesCLI, './output'))
subdirExists.should.equal(false)
done()
Expand Down

0 comments on commit e501d86

Please sign in to comment.