Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit be79158

Browse files
committed
fix missing timeouts
1 parent 4237e66 commit be79158

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/spec/LiveDevelopment-test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ define(function (require, exports, module) {
751751
op.call();
752752
});
753753

754-
waitsFor(function () { return spy.callCount > 0; }, "statusChange callback", 1000);
754+
waitsFor(function () { return spy.callCount > 0; }, "statusChange callback", 2000);
755755

756756
runs(function () {
757757
// Verify expected status
@@ -859,7 +859,7 @@ define(function (require, exports, module) {
859859

860860
runs(function () {
861861
// Browser should reload when saving non-live files like JavaScript
862-
waitsForDone(loadEventPromise);
862+
waitsForDone(loadEventPromise, "loadEventFired", 3000);
863863
});
864864

865865
runs(function () {
@@ -874,7 +874,7 @@ define(function (require, exports, module) {
874874

875875
runs(function () {
876876
// Browser should reload again
877-
waitsForDone(loadEventPromise);
877+
waitsForDone(loadEventPromise, "loadEventFired", 3000);
878878
});
879879

880880
runs(function () {

0 commit comments

Comments
 (0)