Fixed toHaveSize matcher on IE 10 & 11
This commit is contained in:
@@ -43,4 +43,10 @@
|
||||
env.pending('Browser has incomplete or missing support for Maps');
|
||||
}
|
||||
};
|
||||
|
||||
env.requireWeakMaps = function() {
|
||||
if (typeof WeakMap === 'undefined') {
|
||||
env.pending('Browser does not have support for WeakMap');
|
||||
}
|
||||
};
|
||||
})(jasmine.getEnv());
|
||||
|
||||
Reference in New Issue
Block a user