Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Fix type annotation for functional tests #364

Merged
merged 2 commits into from
Nov 13, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/functional/text/textPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import pollUntil from '@theintern/leadfoot/helpers/pollUntil';

declare const require: Require;

async function executeTest(suite: Suite, htmlTestPath: string, timeout = 10000) {
async function executeTest(suite: Suite, htmlTestPath: string, timeout = 10000): Promise<any> {
try {
return await suite.remote.get(htmlTestPath).then(pollUntil<{ text: string; }>(function () {
return (<any> window).loaderTestResults || null;
Expand Down