File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1717import { describe , expect , it } from '@jest/globals' ;
1818import fs from 'fs' ;
1919import os from 'os' ;
20- import path from 'path' ;
2120
2221import { Undock } from '../../src/undock/undock' ;
2322import { Install as UndockInstall } from '../../src/undock/install' ;
2423
25- const tmpDir = fs . mkdtempSync ( path . join ( process . env . TEMP || os . tmpdir ( ) , 'undock-itg-' ) ) ;
26-
2724describe ( 'run' , ( ) => {
2825 it ( 'extracts moby/moby-bin:26.1.5' , async ( ) => {
2926 const install = new UndockInstall ( ) ;
@@ -41,9 +38,8 @@ describe('run', () => {
4138 ( async ( ) => {
4239 // prettier-ignore
4340 await undock . run ( {
44- source : 'moby/moby-bin:26.1.5' ,
45- dist : tmpDir ,
46- all : true
41+ source : 'docker/buildx-bin:0.23.0' ,
42+ dist : os . tmpdir ( )
4743 } ) ;
4844 } ) ( )
4945 ) . resolves . not . toThrow ( ) ;
You can’t perform that action at this time.
0 commit comments