chore(jshint): add missing scripturl directive

This commit is contained in:
Brian Ford
2014-08-19 14:56:06 -07:00
parent 4f3870500d
commit 08cc6edd38

View File

@@ -31,6 +31,7 @@ describe('sanitizeUri', function() {
});
it('should sanitize javascript: urls with comments', function() {
/* jshint scripturl:true */
testUrl = "javascript:alert(1)//data:image/";
expect(sanitizeImg(testUrl)).toBe('unsafe:javascript:alert(1)//data:image/');
});