Skip to content

Commit

Permalink
Merge pull request #2411 from kirbydesign/bug/fix-failing-tests-modal…
Browse files Browse the repository at this point in the history
…-helper

✅ Add 1ms timeout
  • Loading branch information
jkaltoft authored Aug 10, 2022
2 parents eda1753 + 1b94cab commit dfeb548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/designsystem/src/lib/testing/test-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export class TestHelper {
}

public static waitForResizeObserver(): Promise<void> {
return TestHelper.waitForTimeout();
return TestHelper.waitForTimeout(1);
}

public static waitForTimeout(timeoutInMs?: number): Promise<void> {
Expand Down

0 comments on commit dfeb548

Please sign in to comment.