mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-18 02:36:44 +00:00
Fixed invocation of registry. Basic run works hardcoded
Console logs are left in place and should be deleted
This commit is contained in:
14
packages/k8s/tests/build-container-test.ts
Normal file
14
packages/k8s/tests/build-container-test.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
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()
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user