You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: test/__snapshots__/modules-option.test.js.snap
+20-22
Original file line number
Diff line number
Diff line change
@@ -2552,7 +2552,7 @@ exports[`"modules" option should throw an error when class has unsupported name
2552
2552
exports[`"modules" option should throw an error when the "namedExport" is enabled and the "exportLocalsConvention" options has not "camelCaseOnly" value: errors 1`] = `
2553
2553
[
2554
2554
"ModuleBuildError: Module build failed (from \`replaced original path\`):
2555
-
Error: The "modules.namedExport" option requires the "modules.exportLocalsConvention" option to be "asIs", "camelCaseOnly" or "dashesOnly"",
2555
+
Error: The "modules.namedExport" option requires the "modules.exportLocalsConvention" option to be "as-is", "camel-case-only" or "dashes-only"",
2556
2556
]
2557
2557
`;
2558
2558
@@ -2579,7 +2579,7 @@ exports[`"modules" option should throw error when the "exportLocalsConvention" f
2579
2579
exports[`"modules" option should throw error with composes when the "namedExport" is enabled and "exportLocalsConvention" options has invalid value: errors 1`] = `
2580
2580
[
2581
2581
"ModuleBuildError: Module build failed (from \`replaced original path\`):
2582
-
Error: The "modules.namedExport" option requires the "modules.exportLocalsConvention" option to be "asIs", "camelCaseOnly" or "dashesOnly"",
2582
+
Error: The "modules.namedExport" option requires the "modules.exportLocalsConvention" option to be "as-is", "camel-case-only" or "dashes-only"",
2583
2583
]
2584
2584
`;
2585
2585
@@ -6454,9 +6454,9 @@ a {
6454
6454
6455
6455
exports[`"modules" option should work and respect the "localConvention" option with the "asIs" value: warnings 1`] = `[]`;
6456
6456
6457
-
exports[`"modules" option should work and respect the "localConvention" option with the "camelCase" value: errors 1`] = `[]`;
6457
+
exports[`"modules" option should work and respect the "localConvention" option with the "camel-case-only" value: errors 1`] = `[]`;
6458
6458
6459
-
exports[`"modules" option should work and respect the "localConvention" option with the "camelCase" value: module 1`] = `
6459
+
exports[`"modules" option should work and respect the "localConvention" option with the "camel-case-only" value: module 1`] = `
6460
6460
"// Imports
6461
6461
import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
6462
6462
import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
0 commit comments