-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13750 from webpack/ci/memory-problems
improve CI stablilty
- Loading branch information
Showing
15 changed files
with
73 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
import("./module"); | ||
|
||
it("should run", () => {}); | ||
it("should run", () => import("./module")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
import "./a"; | ||
import(/* webpackChunkName: "async" */ "./async"); | ||
it("should compile", () => import(/* webpackChunkName: "async" */ "./async")); | ||
import "./b"; | ||
import "./c"; | ||
|
||
it("should compile", () => {}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
import "./c"; | ||
import(/* webpackChunkName: "async" */ "./async"); | ||
it("should compile", () => import(/* webpackChunkName: "async" */ "./async")); | ||
import "./b"; | ||
import "./a"; | ||
|
||
it("should compile", () => {}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import("./test.js"); | ||
it("should load", () => import("./test.js")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
test/configCases/split-chunks/chunk-filename-delimiter-default/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
it("should run", function () { | ||
Promise.all([ | ||
import(/* webpackChunkName: "a" */ "./a"), | ||
import(/* webpackChunkName: "b" */ "./b") | ||
]); | ||
|
||
const files = require("fs").readdirSync(__dirname); | ||
expect(files).toContain("a.bundle.js"); | ||
expect(files).toContain("b-b_js-c441f481.bundle.js"); | ||
|
||
return Promise.all([ | ||
import(/* webpackChunkName: "a" */ "./a"), | ||
import(/* webpackChunkName: "b" */ "./b") | ||
]); | ||
}); |
10 changes: 5 additions & 5 deletions
10
test/configCases/split-chunks/chunk-filename-delimiter/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
it("should run", function () { | ||
Promise.all([ | ||
import(/* webpackChunkName: "a" */ "./a"), | ||
import(/* webpackChunkName: "b" */ "./b") | ||
]); | ||
|
||
const files = require("fs").readdirSync(__dirname); | ||
expect(files).toContain("a.bundle.js"); | ||
expect(files).toContain("b---b_js---c441f481.bundle.js"); | ||
|
||
return Promise.all([ | ||
import(/* webpackChunkName: "a" */ "./a"), | ||
import(/* webpackChunkName: "b" */ "./b") | ||
]); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
it("should compile and evaluate fine", () => {}); | ||
|
||
import("./a"); | ||
import("./b"); | ||
it("should compile and evaluate fine", () => | ||
Promise.all([import("./a"), import("./b")])); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
it("should handle mixed size types chunk in splitChunks", async () => { | ||
import("./chunk1"); | ||
import("./chunk2"); | ||
}); | ||
it("should handle mixed size types chunk in splitChunks", () => | ||
Promise.all([import("./chunk1"), import("./chunk2")])); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters