Skip to content

Commit ff8f76f

Browse files
committed
increase example timeout + update readme accordingly
1 parent 156cdc0 commit ff8f76f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ describe('my visual test', () => {
102102
},
103103
});
104104
driver.get('https://mysuperurl.ltd');
105-
});
105+
}, 20000); // this timeout is required because starting a session in Browserstack can take ages
106106

107107
afterAll(async () => {
108108
// can be omitted

examples/with-bt-local/src/App.e2e.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('ui testing UiTest', () => {
1515
});
1616

1717
await driver.get('http://localhost:8080');
18-
}, 10000);
18+
}, 20000);
1919

2020
afterAll(async () => {
2121
await driver.quit();

examples/with-bt-local/src/__visual_testing__/App.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('visual testing VisualTest', () => {
1616
});
1717

1818
await driver.get('http://localhost:8080');
19-
}, 10000);
19+
}, 20000);
2020

2121
afterAll(async () => {
2222
await driver.quit();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jest-environment-browserstack",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "an environment for using Browserstack with Jest",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",

0 commit comments

Comments
 (0)