Commit d0792c56 authored by Robert Knight's avatar Robert Knight

Ignore missing <mosaic-book> element for coverage purposes

parent 7303742a
...@@ -258,6 +258,7 @@ export class VitalSourceContentIntegration ...@@ -258,6 +258,7 @@ export class VitalSourceContentIntegration
const bookElement = const bookElement =
options.bookElement ?? findBookElement(window.parent.document); options.bookElement ?? findBookElement(window.parent.document);
if (!bookElement) { if (!bookElement) {
/* istanbul ignore next */
throw new Error( throw new Error(
'Failed to find <mosaic-book> element in container frame' 'Failed to find <mosaic-book> element in container frame'
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment