Skip to content

Commit

Permalink
fix: generators test
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Aug 1, 2020
1 parent cdd0bb9 commit ca6cfb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/generators/__tests__/loader-generator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('loader generator', () => {
// Check the contents of the webpack config and loader file
assert.fileContent([
[join(loaderDir, 'examples/simple/webpack.config.js'), /resolveLoader: {/],
[join(loaderDir, 'src/index.js'), /export default function loader\(source\) {/],
[join(loaderDir, 'src/index.js'), /module.exports = function loader\(source\) {/],
[join(loaderDir, 'package.json'), new RegExp(loaderName)],
]);

Expand Down

0 comments on commit ca6cfb9

Please sign in to comment.