Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 6598371

Browse files
authored
Update test/ngSanitize/sanitizeSpec.js
1 parent 9381d24 commit 6598371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ngSanitize/sanitizeSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ describe('HTML', function() {
261261
});
262262
});
263263

264-
if (!/Edge\//.test(window.navigator.userAgent)) {
264+
if (!/Edge\/\d{2,}/.test(window.navigator.userAgent)) {
265265
// Skip test on Edge due to a browser bug.
266266
it('should throw on a form with an input named "nextSibling"', function() {
267267
inject(function($sanitize) {

0 commit comments

Comments
 (0)