mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2025-12-06 07:48:06 +08:00
16 lines
334 B
TypeScript
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>()
|