File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
dev/tests/js/jasmine/tests/app/code/Magento/Signifyd/frontend/js Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,16 @@ define([
10
10
11
11
/*eslint max-nested-callbacks: ["error", 5]*/
12
12
describe ( 'Signifyd device fingerprint client script' , function ( ) {
13
+ var originalTimeout ;
14
+
15
+ beforeEach ( function ( ) {
16
+ originalTimeout = jasmine . DEFAULT_TIMEOUT_INTERVAL ;
17
+ jasmine . DEFAULT_TIMEOUT_INTERVAL = 12000 ;
18
+ } ) ;
19
+
20
+ afterEach ( function ( ) {
21
+ jasmine . DEFAULT_TIMEOUT_INTERVAL = originalTimeout ;
22
+ } ) ;
13
23
14
24
it ( 'SIGNIFYD_GLOBAL object initialization check' , function ( done ) {
15
25
var script = document . createElement ( 'script' ) ;
@@ -32,7 +42,6 @@ define([
32
42
expect ( signifyd . scriptTagHasLoaded ( ) ) . toBe ( true ) ;
33
43
done ( ) ;
34
44
} , 10000 ) ;
35
-
36
- } , 12000 ) ;
45
+ } ) ;
37
46
} ) ;
38
47
} ) ;
You can’t perform that action at this time.
0 commit comments