Skip to content

Commit 18ef12c

Browse files
committed
Increased jasmine timeout in tests
1 parent db4128b commit 18ef12c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/v1/direct.driver.boltkit.test.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@ import boltStub from '../internal/bolt-stub';
2323

2424
describe('direct driver with stub server', () => {
2525

26+
let originalTimeout;
27+
28+
beforeAll(() => {
29+
originalTimeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;
30+
jasmine.DEFAULT_TIMEOUT_INTERVAL = 60000;
31+
});
32+
33+
afterAll(() => {
34+
jasmine.DEFAULT_TIMEOUT_INTERVAL = originalTimeout;
35+
});
36+
2637
it('should run query', done => {
2738
if (!boltStub.supported) {
2839
done();

0 commit comments

Comments
 (0)