mirror of
https://github.com/actions/container-toolkit-action.git
synced 2025-12-10 20:21:17 +00:00
Convert to ESM
This commit is contained in:
10
__fixtures__/core.ts
Normal file
10
__fixtures__/core.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import type * as core from '@actions/core'
|
||||
import { jest } from '@jest/globals'
|
||||
|
||||
export const debug = jest.fn<typeof core.debug>()
|
||||
export const error = jest.fn<typeof core.error>()
|
||||
export const info = jest.fn<typeof core.info>()
|
||||
export const getInput = jest.fn<typeof core.getInput>()
|
||||
export const setOutput = jest.fn<typeof core.setOutput>()
|
||||
export const setFailed = jest.fn<typeof core.setFailed>()
|
||||
export const warning = jest.fn<typeof core.warning>()
|
||||
3
__fixtures__/wait.ts
Normal file
3
__fixtures__/wait.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import { jest } from '@jest/globals'
|
||||
|
||||
export const wait = jest.fn<typeof import('../src/wait.js').wait>()
|
||||
Reference in New Issue
Block a user