Skip to content

Commit f0d91a5

Browse files
committed
chore: update snapshots
1 parent c4ce0c2 commit f0d91a5

File tree

11 files changed

+654
-647
lines changed

11 files changed

+654
-647
lines changed

eslint.config.mjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,5 @@ import configs from "eslint-config-webpack/configs.js";
44
export default defineConfig([
55
{
66
extends: [configs["recommended-dirty"]],
7-
plugins: {
8-
"@typescript-eslint": (await import("@typescript-eslint/eslint-plugin"))
9-
.default,
10-
},
117
},
128
]);

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
module.exports = {
22
testEnvironment: "node",
3+
testPathIgnorePatterns: ["/node_modules/", "/test/runtime/"],
34
};

test/__snapshots__/import-option.test.js.snap

Lines changed: 293 additions & 293 deletions
Large diffs are not rendered by default.

test/__snapshots__/loader.test.js.snap

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,9 @@ exports[`loader should throws error when no loader(s) for assets: errors 1`] = `
276276

277277
exports[`loader should throws error when no loader(s) for assets: warnings 1`] = `[]`;
278278

279-
exports[`loader should work and nothing to do with built-in CSS support: errors 1`] = `[]`;
280-
281-
exports[`loader should work and nothing to do with built-in CSS support: errors 2`] = `[]`;
279+
exports[`loader should work and nothing to do with built-in CSS support with futureDefaults: errors 1`] = `[]`;
282280

283-
exports[`loader should work and nothing to do with built-in CSS support: module 1`] = `
281+
exports[`loader should work and nothing to do with built-in CSS support with futureDefaults: module 1`] = `
284282
"@charset "UTF-8";
285283
286284
@@ -434,7 +432,16 @@ a[href="" i] {
434432
"
435433
`;
436434
437-
exports[`loader should work and nothing to do with built-in CSS support: module 2`] = `
435+
exports[`loader should work and nothing to do with built-in CSS support with futureDefaults: warnings 1`] = `
436+
[
437+
"ModuleWarning: Module Warning (from \`replaced original path\`):
438+
You can't use \`experiments.css\` (\`experiments.futureDefaults\` enable built-in CSS support by default) and \`css-loader\` together, please set \`experiments.css\` to \`false\` or set \`{ type: "javascript/auto" }\` for rules with \`css-loader\` in your webpack config (now css-loader does nothing).",
439+
]
440+
`;
441+
442+
exports[`loader should work and nothing to do with built-in CSS support: errors 1`] = `[]`;
443+
444+
exports[`loader should work and nothing to do with built-in CSS support: module 1`] = `
438445
"@charset "UTF-8";
439446
440447
@@ -595,13 +602,6 @@ You can't use \`experiments.css\` (\`experiments.futureDefaults\` enable built-i
595602
]
596603
`;
597604
598-
exports[`loader should work and nothing to do with built-in CSS support: warnings 2`] = `
599-
[
600-
"ModuleWarning: Module Warning (from \`replaced original path\`):
601-
You can't use \`experiments.css\` (\`experiments.futureDefaults\` enable built-in CSS support by default) and \`css-loader\` together, please set \`experiments.css\` to \`false\` or set \`{ type: "javascript/auto" }\` for rules with \`css-loader\` in your webpack config (now css-loader does nothing).",
602-
]
603-
`;
604-
605605
exports[`loader should work in 'production' mode: errors 1`] = `[]`;
606606
607607
exports[`loader should work in 'production' mode: module 1`] = `

0 commit comments

Comments
 (0)