File size: 199 Bytes
1e92f2d | 1 2 3 4 5 6 7 8 | import cssSafeUrl from '../';
describe( 'css-safe-url', () => {
test( 'should escape parens', () => {
expect( cssSafeUrl( 'http://foo.com/()/' ) ).toEqual( 'http://foo.com/\\(\\)/' );
} );
} );
|
1e92f2d | 1 2 3 4 5 6 7 8 | import cssSafeUrl from '../';
describe( 'css-safe-url', () => {
test( 'should escape parens', () => {
expect( cssSafeUrl( 'http://foo.com/()/' ) ).toEqual( 'http://foo.com/\\(\\)/' );
} );
} );
|