Files
runner-container-hooks/packages/k8s/tests/build-container-test.ts
Nikola Jokic f400db92cc Fixed invocation of registry. Basic run works hardcoded
Console logs are left in place and should be deleted
2022-09-21 13:54:25 +02:00

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()
})
})