From a16214c614d5eed1ae7c5faeb1d3073054a857c7 Mon Sep 17 00:00:00 2001 From: mlaval Date: Mon, 2 Nov 2015 16:02:22 +0100 Subject: [PATCH] chore(test): failures in browsers which do no support Symbol.iterator Closes #5069 --- modules/angular2/src/testing/shims_for_IE.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/angular2/src/testing/shims_for_IE.js b/modules/angular2/src/testing/shims_for_IE.js index 9a5c1488ac..c6e83f2ce2 100644 --- a/modules/angular2/src/testing/shims_for_IE.js +++ b/modules/angular2/src/testing/shims_for_IE.js @@ -128,3 +128,7 @@ if (!window.console.assert) window.console.assert = function () { }; clearTimeout(id); }; }()); + +// Workaround for https://github.com/angular/angular/issues/5067 +// TODO: remove as part of the issue resolution +if (!window.Symbol) window.Symbol = {iterator: '_es6-shim iterator_'};