Fixed toHaveSize matcher on IE 10 & 11

This commit is contained in:
Steve Gravrock
2020-04-12 13:43:44 -07:00
parent 78c3a007ad
commit 8991b1bba3
7 changed files with 67 additions and 6 deletions

View File

@@ -47,4 +47,10 @@
env.pending('Browser has incomplete or missing support for Sets');
}
};
env.requireWeakSets = function() {
if (typeof WeakSet === 'undefined') {
env.pending('Browser does not have support for WeakSet');
}
};
})(jasmine.getEnv());