Skip to content

Commit 346cd3b

Browse files
committed
Remove duplicate test, fix duplicate test
1 parent aa32526 commit 346cd3b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/transforms/__tests__/textShadow.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,13 @@ it('textShadow omitting blur', () => {
1717
})
1818

1919
it('textShadow omitting color', () => {
20-
expect(transformCss([['text-shadow', '10px 20px black']])).toEqual({
20+
expect(transformCss([['text-shadow', '10px 20px']])).toEqual({
2121
textShadowOffset: { width: 10, height: 20 },
2222
textShadowRadius: 0,
2323
textShadowColor: 'black',
2424
})
2525
})
2626

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-
3527
it('textShadow enforces offset-x and offset-y', () => {
3628
expect(() => transformCss([['text-shadow', 'red']])).toThrow()
3729
expect(() => transformCss([['text-shadow', '10px red']])).toThrow()

0 commit comments

Comments
 (0)