Skip to content

Commit 012682d

Browse files
authored
test: fix trace snapshot (#14)
1 parent e98cb02 commit 012682d

File tree

4 files changed

+122
-122
lines changed

4 files changed

+122
-122
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"devDependencies": {
5353
"@biomejs/biome": "^1.8.3",
5454
"@jest/test-sequencer": "^29.7.0",
55-
"@rspack/core": "1.0.6",
55+
"@rspack/core": "1.0.11",
5656
"@rspack/plugin-react-refresh": "1.0.0",
5757
"@types/connect-history-api-fallback": "1.5.4",
5858
"@types/express": "4.17.21",

pnpm-lock.yaml

Lines changed: 53 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/e2e/__snapshots__/logging.test.js.snap.webpack5

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ exports[`logging should work and log errors by default (sockjs) 1`] = `
2626
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
2727
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
2828
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
29-
│ at <rspack>/dist/Compiler.js:<line>:<row>
30-
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
29+
│ at <rspack>/dist/index.js:<line>:<row>
30+
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
3131
,
3232
]
3333
`;
@@ -44,8 +44,8 @@ exports[`logging should work and log errors by default (ws) 1`] = `
4444
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
4545
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
4646
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
47-
│ at <rspack>/dist/Compiler.js:<line>:<row>
48-
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
47+
│ at <rspack>/dist/index.js:<line>:<row>
48+
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
4949
,
5050
]
5151
`;
@@ -138,8 +138,8 @@ exports[`logging should work and log only error (sockjs) 1`] = `
138138
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
139139
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
140140
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
141-
│ at <rspack>/dist/Compiler.js:<line>:<row>
142-
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
141+
│ at <rspack>/dist/index.js:<line>:<row>
142+
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
143143
,
144144
]
145145
`;
@@ -154,8 +154,8 @@ exports[`logging should work and log only error (ws) 1`] = `
154154
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
155155
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
156156
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
157-
│ at <rspack>/dist/Compiler.js:<line>:<row>
158-
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
157+
│ at <rspack>/dist/index.js:<line>:<row>
158+
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
159159
,
160160
]
161161
`;
@@ -194,8 +194,8 @@ exports[`logging should work and log warning and errors (sockjs) 1`] = `
194194
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
195195
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
196196
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
197-
│ at <rspack>/dist/Compiler.js:<line>:<row>
198-
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
197+
│ at <rspack>/dist/index.js:<line>:<row>
198+
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
199199
,
200200
[webpack-dev-server] Errors while compiling. Reload prevented.,
201201
[webpack-dev-server] ERROR
@@ -204,8 +204,8 @@ exports[`logging should work and log warning and errors (sockjs) 1`] = `
204204
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
205205
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
206206
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
207-
│ at <rspack>/dist/Compiler.js:<line>:<row>
208-
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
207+
│ at <rspack>/dist/index.js:<line>:<row>
208+
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
209209
,
210210
]
211211
`;
@@ -220,8 +220,8 @@ exports[`logging should work and log warning and errors (ws) 1`] = `
220220
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
221221
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
222222
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
223-
│ at <rspack>/dist/Compiler.js:<line>:<row>
224-
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
223+
│ at <rspack>/dist/index.js:<line>:<row>
224+
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
225225
,
226226
[webpack-dev-server] Errors while compiling. Reload prevented.,
227227
[webpack-dev-server] ERROR
@@ -230,8 +230,8 @@ exports[`logging should work and log warning and errors (ws) 1`] = `
230230
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
231231
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
232232
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
233-
│ at <rspack>/dist/Compiler.js:<line>:<row>
234-
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
233+
│ at <rspack>/dist/index.js:<line>:<row>
234+
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
235235
,
236236
]
237237
`;
@@ -248,8 +248,8 @@ exports[`logging should work and log warnings by default (sockjs) 1`] = `
248248
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
249249
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
250250
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
251-
│ at <rspack>/dist/Compiler.js:<line>:<row>
252-
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
251+
│ at <rspack>/dist/index.js:<line>:<row>
252+
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
253253
,
254254
]
255255
`;
@@ -266,8 +266,8 @@ exports[`logging should work and log warnings by default (ws) 1`] = `
266266
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
267267
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
268268
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
269-
│ at <rspack>/dist/Compiler.js:<line>:<row>
270-
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
269+
│ at <rspack>/dist/index.js:<line>:<row>
270+
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
271271
,
272272
]
273273
`;

0 commit comments

Comments
 (0)