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(
|
||||
'gpg',
|
||||
['--import', '--batch', privateKeyFile],
|
||||
{cwd: privateKeyDir}
|
||||
expect.anything(),
|
||||
expect.anything()
|
||||
);
|
||||
|
||||
expect(fs.existsSync(privateKeyDir)).toBe(false);
|
||||
|
Loading…
Reference in New Issue
Block a user