From 0349dbcfe2fed5ce2db7ccf4c23c675bf7bf07b2 Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Fri, 28 Aug 2020 11:20:58 +0200 Subject: [PATCH] fix test case --- test/Compiler.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Compiler.test.js b/test/Compiler.test.js index 115331d4f..59b1db33c 100644 --- a/test/Compiler.test.js +++ b/test/Compiler.test.js @@ -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(); }); });