File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,13 @@ it('textShadow omitting blur', () => {
17
17
} )
18
18
19
19
it ( 'textShadow omitting color' , ( ) => {
20
- expect ( transformCss ( [ [ 'text-shadow' , '10px 20px black ' ] ] ) ) . toEqual ( {
20
+ expect ( transformCss ( [ [ 'text-shadow' , '10px 20px' ] ] ) ) . toEqual ( {
21
21
textShadowOffset : { width : 10 , height : 20 } ,
22
22
textShadowRadius : 0 ,
23
23
textShadowColor : 'black' ,
24
24
} )
25
25
} )
26
26
27
- it ( 'textShadow omitting blur, offset-y' , ( ) => {
28
- expect ( transformCss ( [ [ 'text-shadow' , '10px 20px red' ] ] ) ) . toEqual ( {
29
- textShadowOffset : { width : 10 , height : 20 } ,
30
- textShadowRadius : 0 ,
31
- textShadowColor : 'red' ,
32
- } )
33
- } )
34
-
35
27
it ( 'textShadow enforces offset-x and offset-y' , ( ) => {
36
28
expect ( ( ) => transformCss ( [ [ 'text-shadow' , 'red' ] ] ) ) . toThrow ( )
37
29
expect ( ( ) => transformCss ( [ [ 'text-shadow' , '10px red' ] ] ) ) . toThrow ( )
You can’t perform that action at this time.
0 commit comments