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