Skip to content

Commit 0fa129e

Browse files
test: re-anchor the defaults snapshot around the rebased asset rules
The compact snapshot elides what a config shares with the base one, so the `dedupDepth` line moves where that elision falls once main's own defaults change its neighbours. No value in the resolved config changed.
1 parent 7e57dc8 commit 0fa129e

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

‎test/unitCases/Defaults.unittest.js‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1982,6 +1982,7 @@ describe("snapshots", () => {
19821982
- "mode": "none",
19831983
+ "mode": "development",
19841984
@@ ... @@
1985+
+ },
19851986
+ Object {
19861987
+ "oneOf": Array [
19871988
+ Object {
@@ -1995,14 +1996,13 @@ describe("snapshots", () => {
19951996
+ Object {
19961997
+ "resourceQuery": /(\\?|&)no-inline(&|$)/,
19971998
+ "type": "asset/resource",
1998-
+ },
1999+
@@ ... @@
19992000
+ Object {
20002001
+ "resourceQuery": /(\\?|&)inline(&|$)/,
20012002
+ "type": "asset/inline",
20022003
+ },
2003-
@@ ... @@
2004+
+ ],
20042005
+ },
2005-
+ ],
20062006
@@ ... @@
20072007
- "localIdentHashFunction": "md4",
20082008
+ "localIdentHashFunction": "xxhash64",
@@ -2066,10 +2066,11 @@ describe("snapshots", () => {
20662066
- "devtoolNamespace": "webpack",
20672067
+ "devtoolNamespace": "myLib",
20682068
@@ ... @@
2069-
- "enabledLibraryTypes": Array [],
2069+
+ ],
20702070
+ "enabledLibraryTypes": Array [
20712071
+ "var",
2072-
+ ],
2072+
@@ ... @@
2073+
- "enabledLibraryTypes": Array [],
20732074
@@ ... @@
20742075
- "hashDigestLength": 20,
20752076
- "hashFunction": "md4",

0 commit comments

Comments
 (0)