Skip to content

Commit

Permalink
fix(test): kiss
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal committed Aug 2, 2022
1 parent f3b9547 commit 0299a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/config-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ describe('The config-generator function', () => {
const jsRule = findRule(/\.(m?jsx?)$/, actualConfig.module.rules);

// check for the default env preset only
expect(JSON.stringify(jsRule.use[0].options.presets)).contains(require.resolve('@babel/preset-env'));
expect(JSON.stringify(jsRule.use[0].options.presets)).contains(path.normalize('@babel/preset-env'));
});
});

Expand Down

0 comments on commit 0299a7c

Please sign in to comment.