fix test case

This commit is contained in:
Tobias Koppers 2020-08-28 11:20:58 +02:00
parent 2e3a7cda28
commit 0349dbcfe2
1 changed files with 2 additions and 2 deletions

View File

@ -164,8 +164,8 @@ describe("Compiler", () => {
expect(bundle).not.toMatch("4: function(");
expect(bundle).not.toMatch("fixtures");
expect(chunk).not.toMatch("fixtures");
expect(bundle).toMatch("webpackJsonp");
expect(chunk).toMatch('window["webpackJsonp"] || []).push');
expect(bundle).toMatch("webpackChunk");
expect(chunk).toMatch('self["webpackChunk"] || []).push');
done();
});
});