From e501d8646a7683ce26f119ca6178cccf6b8345d5 Mon Sep 17 00:00:00 2001 From: Corey Farrell Date: Thu, 7 Mar 2019 16:24:08 -0500 Subject: [PATCH] chore: Fix es-module test to check for absolute file path in error. (#1016) --- test/nyc-integration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/nyc-integration.js b/test/nyc-integration.js index 37df86aa3..957b0c84b 100644 --- a/test/nyc-integration.js +++ b/test/nyc-integration.js @@ -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()