Skip to content

Commit 17aa085

Browse files
mischnictimneutkens
authored andcommitted
update snapshots
1 parent cc57b1c commit 17aa085

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

test/e2e/app-dir/cache-components-errors/cache-components-errors.test.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2753,8 +2753,8 @@ describe('Cache Components Errors', () => {
27532753
expect(output).toMatchInlineSnapshot(`
27542754
"Error: "use cache: private" must not be used within \`unstable_cache()\`.
27552755
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-unstable-cache/page.tsx:21:38)
2756-
at __TURBOPACK__module__evaluation__ (bundler:///.next-internal/server/app/use-cache-private-in-unstable-cache/page/actions.js (server actions loader):1:1)
27572756
at a (<next-dist-dir>)
2757+
at b (<next-dist-dir>)
27582758
19 | }
27592759
20 |
27602760
> 21 | const getCachedData = unstable_cache(async () => {
@@ -2772,7 +2772,6 @@ describe('Cache Components Errors', () => {
27722772
expect(output).toMatchInlineSnapshot(`
27732773
"Error: "use cache: private" must not be used within \`unstable_cache()\`.
27742774
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-unstable-cache/page.tsx:21:38)
2775-
at __TURBOPACK__module__evaluation__ (bundler:///.next-internal/server/app/use-cache-private-in-unstable-cache/page/actions.js%20(server%20actions%20loader):1:1)
27762775
at a (<next-dist-dir>)
27772776
19 | }
27782777
20 |
@@ -2898,8 +2897,8 @@ describe('Cache Components Errors', () => {
28982897
expect(output).toMatchInlineSnapshot(`
28992898
"Error: "use cache: private" must not be used within "use cache". It can only be nested inside of another "use cache: private".
29002899
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-use-cache/page.tsx:15:1)
2901-
at __TURBOPACK__module__evaluation__ (bundler:///.next-internal/server/app/use-cache-private-in-use-cache/page/actions.js (server actions loader):1:1)
29022900
at a (<next-dist-dir>)
2901+
at b (<next-dist-dir>)
29032902
13 | }
29042903
14 |
29052904
> 15 | async function Private() {
@@ -2909,8 +2908,8 @@ describe('Cache Components Errors', () => {
29092908
18 | return <p>Private</p>
29102909
Error: "use cache: private" must not be used within "use cache". It can only be nested inside of another "use cache: private".
29112910
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-use-cache/page.tsx:15:1)
2912-
at __TURBOPACK__module__evaluation__ (bundler:///.next-internal/server/app/use-cache-private-in-use-cache/page/actions.js (server actions loader):1:1)
2913-
at b (<next-dist-dir>)
2911+
at c (<next-dist-dir>)
2912+
at d (<next-dist-dir>)
29142913
13 | }
29152914
14 |
29162915
> 15 | async function Private() {
@@ -2928,7 +2927,6 @@ describe('Cache Components Errors', () => {
29282927
expect(output).toMatchInlineSnapshot(`
29292928
"Error: "use cache: private" must not be used within "use cache". It can only be nested inside of another "use cache: private".
29302929
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-use-cache/page.tsx:15:1)
2931-
at __TURBOPACK__module__evaluation__ (bundler:///.next-internal/server/app/use-cache-private-in-use-cache/page/actions.js%20(server%20actions%20loader):1:1)
29322930
at a (<next-dist-dir>)
29332931
13 | }
29342932
14 |
@@ -2939,7 +2937,6 @@ describe('Cache Components Errors', () => {
29392937
18 | return <p>Private</p>
29402938
Error: "use cache: private" must not be used within "use cache". It can only be nested inside of another "use cache: private".
29412939
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-use-cache/page.tsx:15:1)
2942-
at __TURBOPACK__module__evaluation__ (bundler:///.next-internal/server/app/use-cache-private-in-use-cache/page/actions.js%20(server%20actions%20loader):1:1)
29432940
at b (<next-dist-dir>)
29442941
13 | }
29452942
14 |

0 commit comments

Comments
 (0)