Skip to content

Commit be18ad1

Browse files
committed
fix test case
watch test cases are not executed by CI
1 parent 0f88f8d commit be18ad1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/watchCases/runtime/static-import/0/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as both from './dynamic-and-static'
44
import * as staticModule from './static'
55

66
it("should not change chunkhash of manifest chunk", function () {
7-
const manifestChunk = STATS_JSON.chunks.find((chunk) => chunk.names.indexOf("main-runtime") !== -1);
7+
const manifestChunk = STATS_JSON.chunks.find((chunk) => chunk.names.indexOf("runtime~main") !== -1);
88
(!manifestChunk).should.be.false("Main chunk not found");
99
switch (WATCH_STEP) {
1010
case "0":
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
bundlePath: [
3-
"./main-runtime.js",
3+
"./runtime~main.js",
44
"./main.js"
55
]
66
};

0 commit comments

Comments
 (0)