test: more precise error cov

This commit is contained in:
Marc Cataford 2021-02-19 10:02:47 -05:00
parent dd8958875f
commit a5081e3db6

View file

@ -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')),