Fix formating

This commit is contained in:
Leigh McCulloch 2020-12-04 09:36:55 -08:00
parent 82e49b01e9
commit 9d11520b50
No known key found for this signature in database
GPG key ID: 02EA740790312BC4

View file

@ -441,7 +441,7 @@ describe('setup-go', () => {
return '/Users/testuser/go';
});
mkdirpSpy.mockImplementation(async () => { });
mkdirpSpy.mockImplementation(async () => {});
existsSpy.mockImplementation(path => {
return false;
});
@ -452,7 +452,7 @@ describe('setup-go', () => {
expect(logSpy).toHaveBeenCalledWith(`Added go to the path`);
expect(logSpy).toHaveBeenCalledWith(`Added GOBIN to the path`);
let expPath = "/Users/testuser/go/bin";
let expPath = '/Users/testuser/go/bin';
expect(cnSpy).toHaveBeenCalledWith(`::add-path::${expPath}${osm.EOL}`);
});
@ -468,17 +468,19 @@ describe('setup-go', () => {
return '/Users/testuser/go';
});
mkdirpSpy.mockImplementation(async () => { });
mkdirpSpy.mockImplementation(async () => {});
existsSpy.mockImplementation(path => {
return false;
});
await main.run();
expect(logSpy).toHaveBeenCalledWith(`Setup go stable version spec undefined`);
expect(logSpy).toHaveBeenCalledWith(
`Setup go stable version spec undefined`
);
expect(logSpy).toHaveBeenCalledWith(`Added GOBIN to the path`);
let expPath = "/Users/testuser/go/bin";
let expPath = '/Users/testuser/go/bin';
expect(cnSpy).toHaveBeenCalledWith(`::add-path::${expPath}${osm.EOL}`);
});