@@ -15,7 +15,7 @@ test('default', async () => {
1515 expect ( stderr ) . toBe ( '' )
1616
1717 const cachePath = ctx ! . cache . results . getCachePath ( )
18- const path = resolve ( root , 'node_modules/.vite/vitest/d41d8cd98f00b204e9800998ecf8427e /results.json' )
18+ const path = resolve ( root , 'node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709 /results.json' )
1919 expect ( cachePath ) . toMatch ( path )
2020} )
2121
@@ -34,7 +34,7 @@ test('use cache.dir', async () => {
3434 expect ( stderr ) . toContain ( '"cache.dir" is deprecated' )
3535
3636 const cachePath = ctx ! . cache . results . getCachePath ( )
37- const path = resolve ( root , 'node_modules/.vitest-custom/vitest/d41d8cd98f00b204e9800998ecf8427e /results.json' )
37+ const path = resolve ( root , 'node_modules/.vitest-custom/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709 /results.json' )
3838 expect ( cachePath ) . toMatch ( path )
3939} )
4040
@@ -53,7 +53,7 @@ test('use cacheDir', async () => {
5353 expect ( stderr ) . toBe ( '' )
5454
5555 const cachePath = ctx ! . cache . results . getCachePath ( )
56- const path = resolve ( root , 'node_modules/.vite-custom/vitest/d41d8cd98f00b204e9800998ecf8427e /results.json' )
56+ const path = resolve ( root , 'node_modules/.vite-custom/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709 /results.json' )
5757 expect ( cachePath ) . toMatch ( path )
5858} )
5959
@@ -102,7 +102,7 @@ describe('with optimizer enabled', () => {
102102 expect ( stderr ) . toBe ( '' )
103103
104104 const cachePath = ctx ! . cache . results . getCachePath ( )
105- const path = resolve ( root , 'node_modules/.vite/vitest/d41d8cd98f00b204e9800998ecf8427e /results.json' )
105+ const path = resolve ( root , 'node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709 /results.json' )
106106 expect ( cachePath ) . toBe ( path )
107107 } )
108108
@@ -122,7 +122,7 @@ describe('with optimizer enabled', () => {
122122 expect ( stderr ) . toContain ( '"cache.dir" is deprecated' )
123123
124124 const cachePath = ctx ! . cache . results . getCachePath ( )
125- const path = resolve ( root , 'node_modules/.vitest-custom/vitest/d41d8cd98f00b204e9800998ecf8427e /results.json' )
125+ const path = resolve ( root , 'node_modules/.vitest-custom/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709 /results.json' )
126126 expect ( cachePath ) . toBe ( path )
127127 } )
128128
@@ -142,7 +142,7 @@ describe('with optimizer enabled', () => {
142142 expect ( stderr ) . toBe ( '' )
143143
144144 const cachePath = ctx ! . cache . results . getCachePath ( )
145- const path = resolve ( root , 'node_modules/.vite-custom/vitest/d41d8cd98f00b204e9800998ecf8427e /results.json' )
145+ const path = resolve ( root , 'node_modules/.vite-custom/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709 /results.json' )
146146 expect ( cachePath ) . toBe ( path )
147147 } )
148148} )
0 commit comments