improved gpg test preciseness

This commit is contained in:
Jared Petersen 2020-05-10 13:11:35 -07:00
parent 4eb5c87b70
commit 254f00368c

View file

@ -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);