Skip to content

Commit

Permalink
update test snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
xtuc committed Jun 21, 2021
1 parent bdf06eb commit 284cd5f
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions test/Defaults.unittest.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,6 @@ describe("Defaults", () => {
"test": /\\\\\\.json\\$/i,
"type": "json",
},
Object {
"assert": Object {
"type": "json",
},
"type": "json",
},
Object {
"mimetype": "application/json",
"type": "json",
Expand Down Expand Up @@ -195,6 +189,12 @@ describe("Defaults", () => {
},
],
},
Object {
"assert": Object {
"type": "json",
},
"type": "json",
},
],
"generator": Object {},
"noParse": undefined,
Expand Down Expand Up @@ -823,8 +823,6 @@ describe("Defaults", () => {
- "syncWebAssembly": false,
+ "syncWebAssembly": true,
@@ ... @@
+ },
+ ],
+ },
+ Object {
+ "rules": Array [
Expand All @@ -849,9 +847,9 @@ describe("Defaults", () => {
+ },
+ "resolve": Object {
+ "fullySpecified": true,
@@ ... @@
+ },
+ },
@@ ... @@
+ ],
+ "type": "webassembly/sync",
`)
);
Expand Down Expand Up @@ -886,8 +884,6 @@ describe("Defaults", () => {
- "asyncWebAssembly": false,
+ "asyncWebAssembly": true,
@@ ... @@
+ },
+ ],
+ },
+ Object {
+ "rules": Array [
Expand All @@ -912,9 +908,9 @@ describe("Defaults", () => {
+ },
+ "resolve": Object {
+ "fullySpecified": true,
@@ ... @@
+ },
+ },
@@ ... @@
+ ],
+ "type": "webassembly/async",
`)
);
Expand All @@ -933,8 +929,6 @@ describe("Defaults", () => {
- "syncWebAssembly": false,
+ "syncWebAssembly": true,
@@ ... @@
+ },
+ ],
+ },
+ Object {
+ "rules": Array [
Expand All @@ -949,7 +943,7 @@ describe("Defaults", () => {
+ ],
+ "test": /\\.wasm$/i,
+ "type": "webassembly/async",
@@ ... @@
+ },
+ Object {
+ "mimetype": "application/wasm",
+ "rules": Array [
Expand All @@ -961,7 +955,7 @@ describe("Defaults", () => {
+ "fullySpecified": true,
+ },
+ },
@@ ... @@
+ ],
+ "type": "webassembly/async",
`)
);
Expand Down

0 comments on commit 284cd5f

Please sign in to comment.