Skip to content

Commit 7239932

Browse files
committed
test($compile): fix test
The fixed test is supposed to test a fix for an IE11 bug/peculiarity that arises when using a specifically configured MutationObserver on the page (see angular#11781 for more info). The configuration contained a typo (`sublist` instead of `subtree`), which effectively failed to set up the MutationObserver in a way that would make the IE11 bug appear. Closes angular#12061
1 parent a69251a commit 7239932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ng/compileSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2998,7 +2998,7 @@ describe('$compile', function() {
29982998

29992999
// Create and register the MutationObserver
30003000
var observer = new window.MutationObserver(noop);
3001-
observer.observe(document.body, {childList: true, sublist: true});
3001+
observer.observe(document.body, {childList: true, subtree: true});
30023002

30033003
// Run the actual test
30043004
var base = jqLite('<div>&mdash; {{ "This doesn\'t." }}</div>');

0 commit comments

Comments
 (0)