Fixed toHaveSize matcher on IE 10 & 11
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user