File tree Expand file tree Collapse file tree 1 file changed +18
-6
lines changed
dev/tests/js/jasmine/tests/app/code/Magento/Ui/base/js/timeline Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -17,29 +17,41 @@ define([
17
17
18
18
describe ( 'isActive method' , function ( ) {
19
19
it ( 'record status is 1' , function ( ) {
20
- expect ( timeline . isActive ( { status : 1 } ) ) . toBe ( true ) ;
20
+ expect ( timeline . isActive ( {
21
+ status : 1
22
+ } ) ) . toBe ( true ) ;
21
23
} ) ;
22
24
23
25
it ( 'record status is "1"' , function ( ) {
24
- expect ( timeline . isActive ( { status : '1' } ) ) . toBe ( true ) ;
26
+ expect ( timeline . isActive ( {
27
+ status : '1'
28
+ } ) ) . toBe ( true ) ;
25
29
} ) ;
26
30
27
31
it ( 'record status is 2' , function ( ) {
28
- expect ( timeline . isActive ( { status : 2 } ) ) . toBe ( false ) ;
32
+ expect ( timeline . isActive ( {
33
+ status : 2
34
+ } ) ) . toBe ( false ) ;
29
35
} ) ;
30
36
} ) ;
31
37
32
38
describe ( 'isUpcoming method' , function ( ) {
33
39
it ( 'record status is 2' , function ( ) {
34
- expect ( timeline . isUpcoming ( { status : 2 } ) ) . toBe ( true ) ;
40
+ expect ( timeline . isUpcoming ( {
41
+ status : 2
42
+ } ) ) . toBe ( true ) ;
35
43
} ) ;
36
44
37
45
it ( 'record status is "2"' , function ( ) {
38
- expect ( timeline . isUpcoming ( { status : '2' } ) ) . toBe ( true ) ;
46
+ expect ( timeline . isUpcoming ( {
47
+ status : '2'
48
+ } ) ) . toBe ( true ) ;
39
49
} ) ;
40
50
41
51
it ( 'record status is 1' , function ( ) {
42
- expect ( timeline . isUpcoming ( { status : 1 } ) ) . toBe ( false ) ;
52
+ expect ( timeline . isUpcoming ( {
53
+ status : 1
54
+ } ) ) . toBe ( false ) ;
43
55
} ) ;
44
56
} ) ;
45
57
} ) ;
You can’t perform that action at this time.
0 commit comments