From 1bfdd1d8c0b8635eeb0d5b8cc1f7f8502c04191b Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Thu, 17 Apr 2025 14:59:09 +0200 Subject: [PATCH] undock: fix integration test Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- __tests__/undock/undock.test.itg.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/__tests__/undock/undock.test.itg.ts b/__tests__/undock/undock.test.itg.ts index 09efd92..1471e2a 100644 --- a/__tests__/undock/undock.test.itg.ts +++ b/__tests__/undock/undock.test.itg.ts @@ -17,13 +17,10 @@ import {describe, expect, it} from '@jest/globals'; import fs from 'fs'; import os from 'os'; -import path from 'path'; import {Undock} from '../../src/undock/undock'; import {Install as UndockInstall} from '../../src/undock/install'; -const tmpDir = fs.mkdtempSync(path.join(process.env.TEMP || os.tmpdir(), 'undock-itg-')); - describe('run', () => { it('extracts moby/moby-bin:26.1.5', async () => { const install = new UndockInstall(); @@ -41,9 +38,8 @@ describe('run', () => { (async () => { // prettier-ignore await undock.run({ - source: 'moby/moby-bin:26.1.5', - dist: tmpDir, - all: true + source: 'docker/buildx-bin:0.23.0', + dist: os.tmpdir() }); })() ).resolves.not.toThrow();