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
test(e2e): accumulate runtime errors in the browser and settle on webpack 5.109
Runtime-error accumulation (two errors paging "1 / 2" ↔ "2 / 2") and
unhandled promise rejections now run against real page errors — the
rejection fixture rejects from the page's own script so the event
carries the real reason. Their jsdom equivalents are removed.
The branch also settles on webpack 5.109: the lockfile catches up with
the already-bumped range, and the assertions and console snapshots
adopt 5.109's parse-error format (numbered code-frame gutter, caret
line, and the "File was parsed as module type" note) instead of
normalizing it away.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
Copy file name to clipboardExpand all lines: test/e2e/__snapshots__/overlay.test.js.snap.webpack5
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,15 @@ exports[`error overlay (browser) paginates multiple problems with a counter 1`]
6
6
"[webpack-dev-middleware] bundle has 2 errors",
7
7
"[webpack-dev-middleware] ./a.js 1:7
8
8
Module parse failed: Unexpected token (1:7)
9
+
File was parsed as module type 'javascript/auto'.
9
10
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
10
-
> broken a {{{
11
+
> 1 | broken a {{{
12
+
| ^
11
13
./b.js 1:7
12
14
Module parse failed: Unexpected token (1:7)
15
+
File was parsed as module type 'javascript/auto'.
13
16
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
0 commit comments