Skip to content

Commit

Permalink
fix test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
giltayar authored and juergba committed Feb 3, 2021
1 parent 19ca1a4 commit fb77b31
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/integration/esm.spec.js
Expand Up @@ -45,7 +45,10 @@ describe('esm', function() {
const err = await runMochaAsync(fixture, args, {stdio: 'pipe'}).catch(
err => err
);
expect(err.output, 'to contain', 'SyntaxError').and('to contain', fixture);
expect(err.output, 'to contain', 'SyntaxError').and(
'to contain',
'esm-syntax-error.fixture.mjs'
);
});

it('should recognize esm files ending with .js due to package.json type flag', function(done) {
Expand Down

0 comments on commit fb77b31

Please sign in to comment.