Files
ai-inference/__fixtures__/core.ts
T

12 lines
498 B
TypeScript
Raw Normal View History

2025-04-04 07:27:58 +11:00
import type * as core from '@actions/core'
2025-07-24 19:11:15 +10:00
import {vi} from 'vitest'
2025-04-04 07:27:58 +11:00
2025-07-24 18:08:26 +10:00
export const debug = vi.fn<typeof core.debug>()
export const error = vi.fn<typeof core.error>()
export const info = vi.fn<typeof core.info>()
export const getInput = vi.fn<typeof core.getInput>()
export const getBooleanInput = vi.fn<typeof core.getBooleanInput>()
export const setOutput = vi.fn<typeof core.setOutput>()
export const setFailed = vi.fn<typeof core.setFailed>()
export const warning = vi.fn<typeof core.warning>()