Skip to content

Commit dc73156

Browse files
committed
fix windows test cases, remove affected tests from allowlist
1 parent 1e7acc5 commit dc73156

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

test/ConfigCacheTestCases.longtest.js

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,17 @@ describeCases({
88
["missing-wasm-experiment"]:
99
/^Pack got invalid because of write to: Compilation\/modules.+wasm.wasm$/
1010
},
11-
["process-assets"]: {
12-
["html-plugin"]:
13-
/^Pack got invalid because of write to: RealContentHashPlugin|analyse|index.html$/
14-
},
1511
parsing: {
1612
// Module parse failed
1713
context:
1814
/^Pack got invalid because of write to: Compilation\/modules|.+dump-file\.txt/
1915
},
2016
loaders: {
2117
// Error in loader
22-
options:
23-
/^Pack got invalid because of write to: Compilation\/modules.+loaders\/options\/error1\.js$/
24-
},
25-
assets: {
26-
["delete-asset"]:
27-
/^Pack got invalid because of write to: TerserWebpackPlugin|bundle0.js$/
18+
options: [
19+
/^Pack got invalid because of write to: Compilation\/modules.+loaders[/\\]options[/\\]error1\.js$/,
20+
/^Pack got invalid because of write to: Compilation\/modules.+loaders[/\\]options[/\\]error2\.js$/
21+
]
2822
},
2923
["asset-modules"]: {
3024
["http-url"]:

test/TestCasesCachePack.longtest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe("TestCases", () => {
2323
loaders: {
2424
// Module build failed
2525
["no-string"]:
26-
/^Pack got invalid because of write to: Compilation\/modules.+no-string\/loader\.js!.+no-string\/file\.js$/
26+
/^Pack got invalid because of write to: Compilation\/modules.+no-string[/\\]loader\.js!.+no-string[/\\]file\.js$/
2727
},
2828
large: {
2929
["big-assets"]:

0 commit comments

Comments
 (0)