Convert to ESM.
Context: https://github.com/actions/typescript-action/pull/969
This commit is contained in:
committed by
Fabio Niephaus
parent
59f089d81e
commit
b4c67abb33
7
__fixtures__/cache.ts
Normal file
7
__fixtures__/cache.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import * as cache from '@actions/cache'
|
||||
import { jest } from '@jest/globals'
|
||||
|
||||
export const ReserveCacheError = cache.ReserveCacheError
|
||||
export const restoreCache = jest.fn<typeof cache.restoreCache>()
|
||||
export const saveCache = jest.fn<typeof cache.saveCache>()
|
||||
export const ValidationError = cache.ValidationError
|
||||
Reference in New Issue
Block a user