mirror of
https://github.com/actions/setup-java.git
synced 2025-05-21 18:01:46 +00:00
improved gpg test preciseness
This commit is contained in:
parent
4eb5c87b70
commit
254f00368c
@ -192,8 +192,8 @@ describe('auth tests', () => {
|
|||||||
|
|
||||||
expect(exec.exec).not.toHaveBeenCalledWith(
|
expect(exec.exec).not.toHaveBeenCalledWith(
|
||||||
'gpg',
|
'gpg',
|
||||||
['--import', '--batch', privateKeyFile],
|
expect.anything(),
|
||||||
{cwd: privateKeyDir}
|
expect.anything()
|
||||||
);
|
);
|
||||||
|
|
||||||
expect(fs.existsSync(privateKeyDir)).toBe(false);
|
expect(fs.existsSync(privateKeyDir)).toBe(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user