This commit is contained in:
ggunullu
2023-02-02 17:13:21 +01:00
committed by florent Beauchamp
parent c105057b91
commit 6961361cf8

View File

@@ -59,8 +59,6 @@ test('respect the checkSecondFooter flag', async () => {
// not using openVhd to be able to call readHeaderAndFooter separatly
const vhd = new VhdFile(handler, 'randomfile.vhd')
await expect(async () => await checkFile(vhd)).rejects.toThrow()
await expect(async () => await vhd.readHeaderAndFooter()).rejects.toThrow()
await expect(async () => await vhd.readHeaderAndFooter(true)).rejects.toThrow()
await expect(await vhd.readHeaderAndFooter(false)).toEqual(undefined)