mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This records dedicated snapshots for Turbopack for the remaining tests in `test/development/acceptance/error-recovery.test.ts`. The only remaining difference was the lack of Import trace information. Test Plan: `TURBOPACK=1 pnpm test-dev test/development/acceptance/error-recovery.test.ts` Closes PACK-2761
26 lines
576 B
Plaintext
26 lines
576 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`ReactRefreshLogBox default syntax > runtime error 1`] = `
|
|
"index.js (5:9) @ Error
|
|
|
|
3 | setInterval(() => {
|
|
4 | i++
|
|
> 5 | throw Error('no ' + i)
|
|
| ^
|
|
6 | }, 1000)
|
|
7 | export default function FunctionNamed() {
|
|
8 | return <div />"
|
|
`;
|
|
|
|
exports[`ReactRefreshLogBox turbo syntax > runtime error 1`] = `
|
|
"index.js (5:9) @ eval
|
|
|
|
3 | setInterval(() => {
|
|
4 | i++
|
|
> 5 | throw Error('no ' + i)
|
|
| ^
|
|
6 | }, 1000)
|
|
7 | export default function FunctionNamed() {
|
|
8 | return <div />"
|
|
`;
|