fix(core): update

This commit is contained in:
2024-06-05 23:56:02 +02:00
parent 224004217c
commit cbdbd32dd1
4 changed files with 15 additions and 7 deletions

View File

@ -8,7 +8,7 @@ import * as docker from '../ts/index.js';
let testDockerHost: docker.DockerHost;
tap.test('should create a new Dockersock instance', async () => {
testDockerHost = new docker.DockerHost();
testDockerHost = new docker.DockerHost({});
return expect(testDockerHost).toBeInstanceOf(docker.DockerHost);
});
@ -118,7 +118,7 @@ tap.test('should create a service', async () => {
await testSecret.remove();
});
tap.skip.test('should export images', async (toolsArg) => {
tap.test('should export images', async (toolsArg) => {
const done = toolsArg.defer();
const testImage = await docker.DockerImage.createFromRegistry(testDockerHost, {
creationObject: {