docker: set default standalone
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -78,7 +78,9 @@ describe('hasLocalOrTarExporter', () => {
|
||||
describe('isAvailable', () => {
|
||||
it('docker cli', async () => {
|
||||
const execSpy = jest.spyOn(exec, 'getExecOutput');
|
||||
const buildx = new Buildx();
|
||||
const buildx = new Buildx({
|
||||
standalone: false
|
||||
});
|
||||
await buildx.isAvailable();
|
||||
// eslint-disable-next-line jest/no-standalone-expect
|
||||
expect(execSpy).toHaveBeenCalledWith(`docker`, ['buildx'], {
|
||||
|
||||
@@ -19,7 +19,7 @@ describe('isAvailable', () => {
|
||||
describe('info', () => {
|
||||
it('standard', () => {
|
||||
const execSpy = jest.spyOn(exec, 'exec');
|
||||
Docker.info();
|
||||
Docker.info(false);
|
||||
expect(execSpy).toHaveBeenCalledWith(`docker`, ['version'], {
|
||||
failOnStdErr: false
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user