astro-ghostcms/.pnpm-store/v3/files/eb/6dd79fa400f91de5c5bc2639c6a...

24 lines
652 B
Plaintext

import transformCss from '..'
it('transforms text-decoration-line with underline line-through', () => {
expect(
transformCss([['text-decoration-line', 'underline line-through']])
).toEqual({
textDecorationLine: 'underline line-through',
})
})
it('transforms text-decoration-line with line-through underline', () => {
expect(
transformCss([['text-decoration-line', 'line-through underline']])
).toEqual({
textDecorationLine: 'underline line-through',
})
})
it('transforms text-decoration-line with none', () => {
expect(transformCss([['text-decoration-line', 'none']])).toEqual({
textDecorationLine: 'none',
})
})