@@ -114,10 +114,10 @@ describe('run', () => {
114114 key === State . CachePackageManager
115115 ? inputs [ 'cache' ]
116116 : key === State . CachePrimaryKey || key === State . CacheMatchedKey
117- ? yarnFileHash
118- : key === State . CachePaths
119- ? '["/foo/bar"]'
120- : 'not expected'
117+ ? yarnFileHash
118+ : key === State . CachePaths
119+ ? '["/foo/bar"]'
120+ : 'not expected'
121121 ) ;
122122
123123 await run ( ) ;
@@ -138,10 +138,10 @@ describe('run', () => {
138138 key === State . CachePackageManager
139139 ? inputs [ 'cache' ]
140140 : key === State . CachePrimaryKey || key === State . CacheMatchedKey
141- ? yarnFileHash
142- : key === State . CachePaths
143- ? '["/foo/bar"]'
144- : 'not expected'
141+ ? yarnFileHash
142+ : key === State . CachePaths
143+ ? '["/foo/bar"]'
144+ : 'not expected'
145145 ) ;
146146
147147 await run ( ) ;
@@ -162,10 +162,10 @@ describe('run', () => {
162162 key === State . CachePackageManager
163163 ? inputs [ 'cache' ]
164164 : key === State . CachePrimaryKey || key === State . CacheMatchedKey
165- ? yarnFileHash
166- : key === State . CachePaths
167- ? '["/foo/bar"]'
168- : 'not expected'
165+ ? yarnFileHash
166+ : key === State . CachePaths
167+ ? '["/foo/bar"]'
168+ : 'not expected'
169169 ) ;
170170 getCommandOutputSpy . mockImplementationOnce ( ( ) => `${ commonPath } /npm` ) ;
171171
@@ -184,10 +184,10 @@ describe('run', () => {
184184 key === State . CachePackageManager
185185 ? inputs [ 'cache' ]
186186 : key === State . CachePrimaryKey || key === State . CacheMatchedKey
187- ? yarnFileHash
188- : key === State . CachePaths
189- ? '["/foo/bar"]'
190- : 'not expected'
187+ ? yarnFileHash
188+ : key === State . CachePaths
189+ ? '["/foo/bar"]'
190+ : 'not expected'
191191 ) ;
192192
193193 await run ( ) ;
@@ -207,12 +207,12 @@ describe('run', () => {
207207 key === State . CachePackageManager
208208 ? inputs [ 'cache' ]
209209 : key === State . CacheMatchedKey
210- ? yarnFileHash
211- : key === State . CachePrimaryKey
212- ? npmFileHash
213- : key === State . CachePaths
214- ? '["/foo/bar"]'
215- : 'not expected'
210+ ? yarnFileHash
211+ : key === State . CachePrimaryKey
212+ ? npmFileHash
213+ : key === State . CachePaths
214+ ? '["/foo/bar"]'
215+ : 'not expected'
216216 ) ;
217217
218218 await run ( ) ;
@@ -237,12 +237,12 @@ describe('run', () => {
237237 key === State . CachePackageManager
238238 ? inputs [ 'cache' ]
239239 : key === State . CacheMatchedKey
240- ? yarnFileHash
241- : key === State . CachePrimaryKey
242- ? npmFileHash
243- : key === State . CachePaths
244- ? '["/foo/bar"]'
245- : 'not expected'
240+ ? yarnFileHash
241+ : key === State . CachePrimaryKey
242+ ? npmFileHash
243+ : key === State . CachePaths
244+ ? '["/foo/bar"]'
245+ : 'not expected'
246246 ) ;
247247
248248 await run ( ) ;
@@ -267,12 +267,12 @@ describe('run', () => {
267267 key === State . CachePackageManager
268268 ? inputs [ 'cache' ]
269269 : key === State . CacheMatchedKey
270- ? npmFileHash
271- : key === State . CachePrimaryKey
272- ? yarnFileHash
273- : key === State . CachePaths
274- ? '["/foo/bar"]'
275- : 'not expected'
270+ ? npmFileHash
271+ : key === State . CachePrimaryKey
272+ ? yarnFileHash
273+ : key === State . CachePaths
274+ ? '["/foo/bar"]'
275+ : 'not expected'
276276 ) ;
277277
278278 await run ( ) ;
@@ -297,12 +297,12 @@ describe('run', () => {
297297 key === State . CachePackageManager
298298 ? inputs [ 'cache' ]
299299 : key === State . CacheMatchedKey
300- ? pnpmFileHash
301- : key === State . CachePrimaryKey
302- ? npmFileHash
303- : key === State . CachePaths
304- ? '["/foo/bar"]'
305- : 'not expected'
300+ ? pnpmFileHash
301+ : key === State . CachePrimaryKey
302+ ? npmFileHash
303+ : key === State . CachePaths
304+ ? '["/foo/bar"]'
305+ : 'not expected'
306306 ) ;
307307
308308 await run ( ) ;
@@ -327,12 +327,12 @@ describe('run', () => {
327327 key === State . CachePackageManager
328328 ? inputs [ 'cache' ]
329329 : key === State . CacheMatchedKey
330- ? npmFileHash
331- : key === State . CachePrimaryKey
332- ? yarnFileHash
333- : key === State . CachePaths
334- ? '["/foo/bar"]'
335- : 'not expected'
330+ ? npmFileHash
331+ : key === State . CachePrimaryKey
332+ ? yarnFileHash
333+ : key === State . CachePaths
334+ ? '["/foo/bar"]'
335+ : 'not expected'
336336 ) ;
337337 saveCacheSpy . mockImplementation ( ( ) => {
338338 return - 1 ;
@@ -360,12 +360,12 @@ describe('run', () => {
360360 key === State . CachePackageManager
361361 ? inputs [ 'cache' ]
362362 : key === State . CacheMatchedKey
363- ? npmFileHash
364- : key === State . CachePrimaryKey
365- ? yarnFileHash
366- : key === State . CachePaths
367- ? '["/foo/bar"]'
368- : 'not expected'
363+ ? npmFileHash
364+ : key === State . CachePrimaryKey
365+ ? yarnFileHash
366+ : key === State . CachePaths
367+ ? '["/foo/bar"]'
368+ : 'not expected'
369369 ) ;
370370 saveCacheSpy . mockImplementation ( ( ) => {
371371 throw new cache . ValidationError ( 'Validation failed' ) ;
0 commit comments