diff --git a/addon/src/test-support/get-page-title.ts b/addon/src/test-support/get-page-title.ts index 6918ca9..35ea1cb 100644 --- a/addon/src/test-support/get-page-title.ts +++ b/addon/src/test-support/get-page-title.ts @@ -1,7 +1,7 @@ // Testem appends progress to the title... // and there's no way to stop this at the moment -export function getPageTitle(doc: Document) { +export function getPageTitle(doc?: Document): string { // In Fastboot context we get 2 title elements if we don't remove one from app/index.html // In real world applications, it is mandatory to remove