Skip to content

Commit

Permalink
test: adapt multiple version bundler (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
chikara-chan authored Apr 29, 2020
1 parent a887bed commit 6a07786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/obsolete-webpack-plugin/test/plugin.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe('plugin', () => {
const context = await buildModule('prod');
const actual = readFileSyncWrapper(context, 'dist', 'obsolete.js');

expect(actual.indexOf('!function(e,r)')).toBe(0);
expect(actual.indexOf('!function(')).toBe(0);
});
it(`html should work as expected`, async () => {
const context = await buildModule('html');
Expand Down

0 comments on commit 6a07786

Please sign in to comment.