core/api/tailwindcss-master/__tests__/escapeClassName.test.js

6 lines
178 B
JavaScript
Raw Normal View History

2022-12-11 13:55:49 +05:00
import escapeClassName from '../src/util/escapeClassName'
test('invalid characters are escaped', () => {
expect(escapeClassName('w:_$-1/2')).toEqual('w\\:_\\$-1\\/2')
})