buildx: printVersion

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2023-01-24 00:13:52 +01:00
parent 4f2a155c08
commit fe75972f55
3 changed files with 32 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ describe('isAvailable', () => {
});
describe('printVersion', () => {
it('standard', () => {
it('docker cli', () => {
const execSpy = jest.spyOn(exec, 'exec');
Docker.printVersion(false);
expect(execSpy).toHaveBeenCalledWith(`docker`, ['version'], {
@@ -34,7 +34,7 @@ describe('printVersion', () => {
});
describe('printInfo', () => {
it('standard', () => {
it('docker cli', () => {
const execSpy = jest.spyOn(exec, 'exec');
Docker.printInfo(false);
expect(execSpy).toHaveBeenCalledWith(`docker`, ['info'], {