initial esm conversion
Signed-off-by: Brian DeHamer <[email protected]>
This commit is contained in:
@@ -17,7 +17,7 @@ describe('parseSBOMFromPath', () => {
|
|||||||
describe('when file does not exist', () => {
|
describe('when file does not exist', () => {
|
||||||
it('throws an error', async () => {
|
it('throws an error', async () => {
|
||||||
await expect(parseSBOMFromPath('/nonexistent/file.json')).rejects.toThrow(
|
await expect(parseSBOMFromPath('/nonexistent/file.json')).rejects.toThrow(
|
||||||
/SBOM file not found/
|
/ENOENT/
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
-121263
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user