test: more precise error cov
This commit is contained in:
parent
dd8958875f
commit
a5081e3db6
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ describe('Packwatch', () => {
|
||||||
|
|
||||||
await expect(async () =>
|
await expect(async () =>
|
||||||
packwatch({ cwd: workspacePath }),
|
packwatch({ cwd: workspacePath }),
|
||||||
).rejects.toThrow()
|
).rejects.toThrow('NO_MANIFEST_NO_UPDATE')
|
||||||
|
|
||||||
const generatedManifest = await fs.readFile(
|
const generatedManifest = await fs.readFile(
|
||||||
resolve(join(workspacePath, '.packwatch.json')),
|
resolve(join(workspacePath, '.packwatch.json')),
|
||||||
|
|
Reference in a new issue