@@ -2698,7 +2698,6 @@ describe('Cache Components Errors', () => {
2698
2698
"stack": [
2699
2699
"{module evaluation} app/use-cache-private-in-unstable-cache/page.tsx (21:38)",
2700
2700
"<FIXME-next-dist-dir>",
2701
- "<FIXME-next-dist-dir>",
2702
2701
],
2703
2702
}
2704
2703
` )
@@ -2754,7 +2753,6 @@ describe('Cache Components Errors', () => {
2754
2753
"Error: "use cache: private" must not be used within \`unstable_cache()\`.
2755
2754
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-unstable-cache/page.tsx:21:38)
2756
2755
at a (<next-dist-dir>)
2757
- at b (<next-dist-dir>)
2758
2756
19 | }
2759
2757
20 |
2760
2758
> 21 | const getCachedData = unstable_cache(async () => {
@@ -2772,7 +2770,6 @@ describe('Cache Components Errors', () => {
2772
2770
expect ( output ) . toMatchInlineSnapshot ( `
2773
2771
"Error: "use cache: private" must not be used within \`unstable_cache()\`.
2774
2772
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-unstable-cache/page.tsx:21:38)
2775
- at a (<next-dist-dir>)
2776
2773
19 | }
2777
2774
20 |
2778
2775
> 21 | const getCachedData = unstable_cache(async () => {
@@ -2841,7 +2838,6 @@ describe('Cache Components Errors', () => {
2841
2838
"stack": [
2842
2839
"{module evaluation} app/use-cache-private-in-use-cache/page.tsx (15:1)",
2843
2840
"<FIXME-next-dist-dir>",
2844
- "<FIXME-next-dist-dir>",
2845
2841
],
2846
2842
}
2847
2843
` )
@@ -2898,7 +2894,6 @@ describe('Cache Components Errors', () => {
2898
2894
"Error: "use cache: private" must not be used within "use cache". It can only be nested inside of another "use cache: private".
2899
2895
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-use-cache/page.tsx:15:1)
2900
2896
at a (<next-dist-dir>)
2901
- at b (<next-dist-dir>)
2902
2897
13 | }
2903
2898
14 |
2904
2899
> 15 | async function Private() {
@@ -2908,8 +2903,7 @@ describe('Cache Components Errors', () => {
2908
2903
18 | return <p>Private</p>
2909
2904
Error: "use cache: private" must not be used within "use cache". It can only be nested inside of another "use cache: private".
2910
2905
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-use-cache/page.tsx:15:1)
2911
- at c (<next-dist-dir>)
2912
- at d (<next-dist-dir>)
2906
+ at b (<next-dist-dir>)
2913
2907
13 | }
2914
2908
14 |
2915
2909
> 15 | async function Private() {
@@ -2927,7 +2921,6 @@ describe('Cache Components Errors', () => {
2927
2921
expect ( output ) . toMatchInlineSnapshot ( `
2928
2922
"Error: "use cache: private" must not be used within "use cache". It can only be nested inside of another "use cache: private".
2929
2923
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-use-cache/page.tsx:15:1)
2930
- at a (<next-dist-dir>)
2931
2924
13 | }
2932
2925
14 |
2933
2926
> 15 | async function Private() {
@@ -2937,7 +2930,6 @@ describe('Cache Components Errors', () => {
2937
2930
18 | return <p>Private</p>
2938
2931
Error: "use cache: private" must not be used within "use cache". It can only be nested inside of another "use cache: private".
2939
2932
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-use-cache/page.tsx:15:1)
2940
- at b (<next-dist-dir>)
2941
2933
13 | }
2942
2934
14 |
2943
2935
> 15 | async function Private() {
0 commit comments