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

Commit e7e8dad

Browse files
authored
test(ngSanitize): disable a failing Edge test in all versions, including 18
It's been only disabled on Edge 16/17 so far which made it fail in Edge 18. Closes #16786
1 parent 09f013a commit e7e8dad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: test/ngSanitize/sanitizeSpec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ describe('HTML', function() {
261261
});
262262
});
263263

264-
if (!/Edge\/(16|17)/.test(window.navigator.userAgent)) {
265-
// Skip test on Edge 16 due to browser bug.
264+
if (!/Edge\/\d{2,}/.test(window.navigator.userAgent)) {
265+
// 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) {
268268

0 commit comments

Comments
 (0)