fix(style_url_resolver): fix data: url resolution
This commit is contained in:
@@ -24,6 +24,14 @@ export function main() {
|
||||
|
||||
expect(indexes).toEqual([1, 4, 8, 9]);
|
||||
});
|
||||
|
||||
it('should reset before it is reused', () => {
|
||||
var re = /^['"]/g;
|
||||
var str = "'";
|
||||
expect(RegExpWrapper.test(re, str)).toEqual(true);
|
||||
// If not reset, the second attempt to test results in false
|
||||
expect(RegExpWrapper.test(re, str)).toEqual(true);
|
||||
});
|
||||
});
|
||||
|
||||
describe('const', () => {
|
||||
|
||||
Reference in New Issue
Block a user