forked from vercel/next.js
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable ReactRefreshLogBox-builtins.test.ts, remove loader from import…
… trace (vercel#41645)
- Loading branch information
1 parent
dfbc720
commit 20db42b
Showing
10 changed files
with
83 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
test/development/acceptance-app/__snapshots__/ReactRefreshLogBox-builtins.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`ReactRefreshLogBox app Module not found 1`] = ` | ||
"./index.js:1:0 | ||
Module not found: Can't resolve 'b' | ||
> 1 | import Comp from 'b' | ||
2 | export default function Oops() { | ||
3 | return ( | ||
4 | <div> | ||
Import trace for requested module: | ||
./app/page.js | ||
https://nextjs.org/docs/messages/module-not-found" | ||
`; | ||
exports[`ReactRefreshLogBox app Module not found empty import trace 1`] = ` | ||
"./app/page.js:2:6 | ||
Module not found: Can't resolve 'b' | ||
1 | 'use client' | ||
> 2 | import Comp from 'b' | ||
| ^ | ||
3 | export default function Oops() { | ||
4 | return ( | ||
5 | <div> | ||
https://nextjs.org/docs/messages/module-not-found" | ||
`; | ||
exports[`ReactRefreshLogBox app Module not found missing global CSS 1`] = ` | ||
"./app/page.js:2:10 | ||
Module not found: Can't resolve './non-existent.css' | ||
1 | 'use client' | ||
> 2 | import './non-existent.css' | ||
| ^ | ||
3 | export default function Page(props) { | ||
4 | return <p>index page</p> | ||
5 | } | ||
https://nextjs.org/docs/messages/module-not-found" | ||
`; | ||
exports[`ReactRefreshLogBox app Node.js builtins 1`] = ` | ||
"./node_modules/my-package/index.js:2:0 | ||
Module not found: Can't resolve 'dns' | ||
Import trace for requested module: | ||
./index.js | ||
./app/page.js | ||
https://nextjs.org/docs/messages/module-not-found" | ||
`; |