Skip to content

Commit

Permalink
Test: Fixed different chunk names in webpack 5
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Feb 10, 2021
1 parent 5bb70d1 commit 0e30a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Expand Up @@ -26,7 +26,7 @@ test('streams output assets', function (t) {
t.ok(/__webpack_require__/i.test(contents), 'should contain "__webpack_require__"');
t.ok(/var one = true;/i.test(contents), 'should contain "var one = true;"');
break;
case '0.bundle.js':
case 'test_fixtures_chunk_js.bundle.js':
t.ok(/var chunk = true;/i.test(contents), 'should contain "var chunk = true;"');
break;
}
Expand Down

0 comments on commit 0e30a7b

Please sign in to comment.