fix(compiler): REVERT allow absolute style urls (#14365)
This reverts commit 6b9aa2ca3d
.
This commit is contained in:
@ -110,9 +110,9 @@ export function main() {
|
||||
it('should not resolve urls with other schema',
|
||||
() => { expect(isStyleUrlResolvable('http://otherurl')).toBe(false); });
|
||||
|
||||
it('should resolve urls with absolute paths', () => {
|
||||
expect(isStyleUrlResolvable('/otherurl')).toBe(true);
|
||||
expect(isStyleUrlResolvable('//otherurl')).toBe(true);
|
||||
it('should not resolve urls with absolute paths', () => {
|
||||
expect(isStyleUrlResolvable('/otherurl')).toBe(false);
|
||||
expect(isStyleUrlResolvable('//otherurl')).toBe(false);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user