This commit is contained in:
ggunullu
2023-02-02 17:05:26 +01:00
committed by florent Beauchamp
parent 29b20753e9
commit c105057b91

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 fs.writeFile(vhd, ';alsdkh;lasdhfjaksdhfjklsdahfhdsl')
await expect(async () => await checkFile(vhd)).rejects.toThrow()
await expect(async () => await vhd.readHeaderAndFooter()).rejects.toThrow()