作者:awerlan
项目:angula
() => { expect(isStyleUrlResolvable('http://otherurl')).toBe(false); });
作者:Cammisul
项目:angula
it('should not resolve empty urls', () => {
expect(isStyleUrlResolvable(null !)).toBe(false);
expect(isStyleUrlResolvable('')).toBe(false);
});
作者:Cammisul
项目:angula
() => { expect(isStyleUrlResolvable('package:someUrl.css')).toBe(true); });