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/configtest/with-config-path/__snapshots__/with-config-path.test.js.snap.webpack5
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
2
3
-
exports[`'configtest' command with the configuration path option should throw error if configuration does not exist: stderr 1`] = `"[webpack-cli] Failed to load '<cwd>/test/configtest/with-config-path/a.js' config"`;
3
+
exports[`'configtest' command with the configuration path option should throw error if configuration does not exist: stderr 1`] = `"[webpack-cli] Failed to load './a.js' config"`;
4
4
5
5
exports[`'configtest' command with the configuration path option should throw error if configuration does not exist: stdout 1`] = `""`;
6
6
7
7
exports[`'configtest' command with the configuration path option should throw syntax error: stderr 1`] = `
8
-
"[webpack-cli] Failed to load '<cwd>/test/configtest/with-config-path/syntax-error.config.js' config
8
+
"[webpack-cli] Failed to load './syntax-error.config.js' config
9
9
▶ ESM (\`import\`) failed:
10
10
Unexpected token ';'
11
11
@@ -22,7 +22,7 @@ exports[`'configtest' command with the configuration path option should throw va
22
22
-> Enable production optimizations or development hints."
23
23
`;
24
24
25
-
exports[`'configtest' command with the configuration path option should throw validation error: stdout 1`] = `"[webpack-cli] Validate '<cwd>/test/configtest/with-config-path/error.config.js'."`;
25
+
exports[`'configtest' command with the configuration path option should throw validation error: stdout 1`] = `"[webpack-cli] Validate './error.config.js'."`;
26
26
27
27
exports[`'configtest' command with the configuration path option should validate the config with alias 't': stderr 1`] = `
28
28
"[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
@@ -31,11 +31,11 @@ exports[`'configtest' command with the configuration path option should validate
31
31
-> Enable production optimizations or development hints."
32
32
`;
33
33
34
-
exports[`'configtest' command with the configuration path option should validate the config with alias 't': stdout 1`] = `"[webpack-cli] Validate '<cwd>/test/configtest/with-config-path/error.config.js'."`;
34
+
exports[`'configtest' command with the configuration path option should validate the config with alias 't': stdout 1`] = `"[webpack-cli] Validate './error.config.js'."`;
35
35
36
36
exports[`'configtest' command with the configuration path option should validate webpack config successfully: stderr 1`] = `""`;
37
37
38
38
exports[`'configtest' command with the configuration path option should validate webpack config successfully: stdout 1`] = `
0 commit comments