mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 01:46:46 +00:00
improved gpg test preciseness
This commit is contained in:
parent
4eb5c87b70
commit
254f00368c
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue