Skip to content

Commit

Permalink
fix: avoid deprecated QUnit extension API
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlafroscia committed Jan 4, 2021
1 parent 17cf4d1 commit 95ddfa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface Result {
}

export function installWaitFor(QUnit: QUnit) {
QUnit.extend(QUnit.assert, {
Object.assign(QUnit.assert, {
async waitFor(
assertionCallback: AssertionCallback,
{ timeout = 1000 }: Options = { timeout: undefined }
Expand Down

0 comments on commit 95ddfa4

Please sign in to comment.