Skip to content

Commit 8241432

Browse files
committed
(#53) Increased test timeout
1 parent f283b61 commit 8241432

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/keyboard.class.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ beforeEach(() => {
99
});
1010

1111
describe("Keyboard", () => {
12-
it("should have a default delay of 500 ms", () => {
12+
it("should have a default delay of 300 ms", () => {
1313
// GIVEN
1414
const adapterMock = new NativeAdapter();
1515
const SUT = new Keyboard(adapterMock);
1616

1717
// WHEN
1818

1919
// THEN
20-
expect(SUT.config.autoDelayMs).toEqual(500);
20+
expect(SUT.config.autoDelayMs).toEqual(300);
2121
});
2222

2323
it("should pass input strings down to the type call.", async () => {
@@ -38,6 +38,7 @@ describe("Keyboard", () => {
3838

3939
it("should pass multiple input strings down to the type call.", async () => {
4040
// GIVEN
41+
jest.setTimeout(10000);
4142
const adapterMock = new NativeAdapter();
4243
const SUT = new Keyboard(adapterMock);
4344
const payload = ["Test input!", "Array test2"];

0 commit comments

Comments
 (0)