File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -5,23 +5,17 @@ const targetpractice = require("targetpractice/index.js");
5
5
libnut . setMouseDelay ( 100 ) ;
6
6
7
7
let target , elements ;
8
- let originalTimeout ;
9
8
10
9
describe ( "Integration/Keyboard" , ( ) => {
11
10
beforeEach ( done => {
12
- originalTimeout = jasmine . DEFAULT_TIMEOUT_INTERVAL ;
13
- jasmine . DEFAULT_TIMEOUT_INTERVAL = 15000 ;
14
-
15
11
target = targetpractice . start ( ) ;
16
12
target . once ( "elements" , message => {
17
13
elements = message ;
18
- console . log ( elements ) ;
19
14
done ( ) ;
20
15
} ) ;
21
16
} ) ;
22
17
23
18
afterEach ( ( ) => {
24
- jasmine . DEFAULT_TIMEOUT_INTERVAL = originalTimeout ;
25
19
targetpractice . stop ( ) ;
26
20
target = null ;
27
21
} ) ;
Original file line number Diff line number Diff line change @@ -6,23 +6,17 @@ const os = require("os");
6
6
libnut . setMouseDelay ( 100 ) ;
7
7
8
8
let target , elements ;
9
- let originalTimeout ;
10
9
11
10
describe ( "Integration/Mouse" , ( ) => {
12
11
beforeEach ( done => {
13
- originalTimeout = jasmine . DEFAULT_TIMEOUT_INTERVAL ;
14
- jasmine . DEFAULT_TIMEOUT_INTERVAL = 15000 ;
15
-
16
12
target = targetpractice . start ( ) ;
17
13
target . once ( "elements" , message => {
18
14
elements = message ;
19
- console . log ( elements ) ;
20
15
done ( ) ;
21
16
} ) ;
22
17
} ) ;
23
18
24
19
afterEach ( ( ) => {
25
- jasmine . DEFAULT_TIMEOUT_INTERVAL = originalTimeout ;
26
20
targetpractice . stop ( ) ;
27
21
target = null ;
28
22
} ) ;
You can’t perform that action at this time.
0 commit comments