Avoid error in Edge accessing localStorage when loading tests via the file: protocol.

This commit is contained in:
John-David Dalton
2016-08-03 08:34:34 -07:00
parent 8b4f22ed75
commit c01e7580cd

View File

@@ -332,7 +332,7 @@
}());
/** Used to detect instrumented istanbul code coverage runs. */
var coverage = root.__coverage__ || root[lodashStable.findKey(root, function(value, key) {
var coverage = root.__coverage__ || root[lodashStable.find(lodashStable.keys(root), function(key) {
return /^(?:\$\$cov_\d+\$\$)$/.test(key);
})];