mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-18 02:36:44 +00:00
15 lines
376 B
TypeScript
15 lines
376 B
TypeScript
import { buildContainer } from '../src/k8s'
|
|
import { TestHelper } from './test-setup'
|
|
|
|
jest.useRealTimers()
|
|
|
|
describe('container build', () => {
|
|
beforeAll(async () => {
|
|
process.env['ACTIONS_RUNNER_KUBERNETES_NAMESPACE'] = 'default'
|
|
})
|
|
|
|
it('should finish without throwing an exception', async () => {
|
|
await expect(buildContainer()).resolves.not.toThrow()
|
|
})
|
|
})
|