diff --git a/packages/streamer/src/parsers/nav.test.ts b/packages/streamer/src/parsers/nav.test.ts index f5890b46..28139dc1 100644 --- a/packages/streamer/src/parsers/nav.test.ts +++ b/packages/streamer/src/parsers/nav.test.ts @@ -35,6 +35,7 @@ describe(`Given ncx toc with prefix`, () => { size: 0, }, ], + close: () => Promise.resolve() } const result = await parseToc(opfXmlDoc, archive, { @@ -74,6 +75,7 @@ describe("Given a base url with a slash at the end", () => { size: 0, }, ], + close: () => Promise.resolve() } const result = await parseToc(opfXmlDoc, archive, {