From a5081e3db6156fe7cfd3738b99eea00970d59bb3 Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Fri, 19 Feb 2021 10:02:47 -0500 Subject: [PATCH] test: more precise error cov --- src/__tests__/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__tests__/index.test.ts b/src/__tests__/index.test.ts index b6d789c..87e08d0 100644 --- a/src/__tests__/index.test.ts +++ b/src/__tests__/index.test.ts @@ -72,7 +72,7 @@ describe('Packwatch', () => { await expect(async () => packwatch({ cwd: workspacePath }), - ).rejects.toThrow() + ).rejects.toThrow('NO_MANIFEST_NO_UPDATE') const generatedManifest = await fs.readFile( resolve(join(workspacePath, '.packwatch.json')),