Files
setup-graalvm/__fixtures__/github.ts
2025-09-23 09:36:09 +02:00

16 lines
334 B
TypeScript

import * as github from '@actions/github'
import { jest } from '@jest/globals'
export const context = {
repo: {
owner: 'test-owner',
repo: 'test-repo'
},
sha: 'test-sha',
ref: 'test-ref',
workflow: 'test-workflow',
job: 'test-job',
runId: '12345'
}
export const getOctokit = jest.fn<typeof github.getOctokit>()