Skip to content

Commit 7ed328f

Browse files
committed
feat: update test snap
1 parent 1cb024a commit 7ed328f

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

packages/cli/builder/tests/__snapshots__/default.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports[`builder rspack > should generator rspack config correctly 1`] = `
77
"devtool": "cheap-module-source-map",
88
"entry": {
99
"index": [
10-
"data:text/javascript,import \\"core-js\\";",
10+
"data:text/javascript,import%20%22core-js%22%3B",
1111
"<WORKSPACE>/packages/cli/builder/src/index.ts",
1212
],
1313
},
@@ -2144,7 +2144,7 @@ exports[`builder rspack > should generator rspack config correctly when prod 1`]
21442144
"devtool": "hidden-source-map",
21452145
"entry": {
21462146
"index": [
2147-
"data:text/javascript,import \\"core-js\\";",
2147+
"data:text/javascript,import%20%22core-js%22%3B",
21482148
"<WORKSPACE>/packages/cli/builder/src/index.ts",
21492149
],
21502150
},

packages/cli/builder/tests/__snapshots__/environment.test.ts.snap

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ exports[`builder environment compat > should generator environment config correc
88
"devtool": "cheap-module-source-map",
99
"entry": {
1010
"index": [
11-
"data:text/javascript,import \\"core-js\\";",
11+
"data:text/javascript,import%20%22core-js%22%3B",
1212
"<WORKSPACE>/packages/cli/builder/src/index.ts",
1313
],
1414
},
@@ -1164,6 +1164,26 @@ exports[`builder environment compat > should generator environment config correc
11641164
"affectedHooks": undefined,
11651165
"name": "ProgressPlugin",
11661166
},
1167+
TsCheckerRspackPlugin {
1168+
"options": {
1169+
"issue": {
1170+
"exclude": [
1171+
[Function],
1172+
],
1173+
},
1174+
"logger": {
1175+
"error": [Function],
1176+
"log": [Function],
1177+
},
1178+
"typescript": {
1179+
"build": false,
1180+
"configFile": "<WORKSPACE>/packages/cli/builder/tsconfig.json",
1181+
"memoryLimit": 8192,
1182+
"mode": "readonly",
1183+
"typescriptPath": "<WORKSPACE>/node_modules/<PNPM_INNER>/typescript/lib/typescript.js",
1184+
},
1185+
},
1186+
},
11671187
ReactRefreshRspackPlugin {
11681188
"options": {
11691189
"exclude": [],
@@ -2004,26 +2024,6 @@ exports[`builder environment compat > should generator environment config correc
20042024
"affectedHooks": undefined,
20052025
"name": "ProgressPlugin",
20062026
},
2007-
TsCheckerRspackPlugin {
2008-
"options": {
2009-
"issue": {
2010-
"exclude": [
2011-
[Function],
2012-
],
2013-
},
2014-
"logger": {
2015-
"error": [Function],
2016-
"log": [Function],
2017-
},
2018-
"typescript": {
2019-
"build": false,
2020-
"configFile": "<WORKSPACE>/packages/cli/builder/tsconfig.json",
2021-
"memoryLimit": 8192,
2022-
"mode": "readonly",
2023-
"typescriptPath": "<WORKSPACE>/node_modules/<PNPM_INNER>/typescript/lib/typescript.js",
2024-
},
2025-
},
2026-
},
20272027
],
20282028
"resolve": {
20292029
"alias": {

0 commit comments

Comments
 (0)