Skip to content

Commit

Permalink
update test snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
xtuc authored and sokra committed Jul 16, 2021
1 parent cd9e98e commit 8bc0927
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 @@ -123,12 +123,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 @@ -197,6 +191,12 @@ describe("Defaults", () => {
},
],
},
Object {
"assert": Object {
"type": "json",
},
"type": "json",
},
],
"generator": Object {},
"noParse": undefined,
Expand Down Expand Up @@ -825,8 +825,6 @@ describe("Defaults", () => {
- "syncWebAssembly": false,
+ "syncWebAssembly": true,
@@ ... @@
+ },
+ ],
+ },
+ Object {
+ "rules": Array [
Expand All @@ -851,9 +849,9 @@ describe("Defaults", () => {
+ },
+ "resolve": Object {
+ "fullySpecified": true,
@@ ... @@
+ },
+ },
@@ ... @@
+ ],
+ "type": "webassembly/sync",
`)
);
Expand Down Expand Up @@ -897,8 +895,6 @@ describe("Defaults", () => {
- "asyncWebAssembly": false,
+ "asyncWebAssembly": true,
@@ ... @@
+ },
+ ],
+ },
+ Object {
+ "rules": Array [
Expand All @@ -923,9 +919,9 @@ describe("Defaults", () => {
+ },
+ "resolve": Object {
+ "fullySpecified": true,
@@ ... @@
+ },
+ },
@@ ... @@
+ ],
+ "type": "webassembly/async",
`)
);
Expand All @@ -944,8 +940,6 @@ describe("Defaults", () => {
- "syncWebAssembly": false,
+ "syncWebAssembly": true,
@@ ... @@
+ },
+ ],
+ },
+ Object {
+ "rules": Array [
Expand All @@ -960,7 +954,7 @@ describe("Defaults", () => {
+ ],
+ "test": /\\.wasm$/i,
+ "type": "webassembly/async",
@@ ... @@
+ },
+ Object {
+ "mimetype": "application/wasm",
+ "rules": Array [
Expand All @@ -972,7 +966,7 @@ describe("Defaults", () => {
+ "fullySpecified": true,
+ },
+ },
@@ ... @@
+ ],
+ "type": "webassembly/async",
`)
);
Expand Down

0 comments on commit 8bc0927

Please sign in to comment.