Fixed flaky spec
This commit is contained in:
@@ -1320,7 +1320,7 @@ describe('Env integration', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
env.addReporter(reporter);
|
env.addReporter(reporter);
|
||||||
jasmineUnderTest.DEFAULT_TIMEOUT_INTERVAL = 5;
|
jasmineUnderTest.DEFAULT_TIMEOUT_INTERVAL = 500;
|
||||||
|
|
||||||
env.beforeAll(function() {
|
env.beforeAll(function() {
|
||||||
clock.install();
|
clock.install();
|
||||||
@@ -1331,7 +1331,7 @@ describe('Env integration', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
env.it('spec that should not time out', function(innerDone) {
|
env.it('spec that should not time out', function(innerDone) {
|
||||||
clock.tick(6);
|
clock.tick(1000);
|
||||||
expect(true).toEqual(true);
|
expect(true).toEqual(true);
|
||||||
jasmine.debugLog('Calling realSetTimeout in spec');
|
jasmine.debugLog('Calling realSetTimeout in spec');
|
||||||
realSetTimeout(function() {
|
realSetTimeout(function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user