mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Increase typed array coverage for node test runs.
This commit is contained in:
@@ -410,8 +410,11 @@
|
|||||||
}()));
|
}()));
|
||||||
}
|
}
|
||||||
var _Float64Array = root.Float64Array;
|
var _Float64Array = root.Float64Array;
|
||||||
setProperty(root, 'Float64Array', _Float64Array ? _.noop : root.Uint8Array);
|
if (_ArrayBuffer == root.ArrayBuffer && _Float64Array) {
|
||||||
|
setProperty(root, 'Float64Array', _.noop);
|
||||||
|
} else {
|
||||||
|
setProperty(root, 'Float64Array', root.Uint8Array);
|
||||||
|
}
|
||||||
// fake `WinRTError`
|
// fake `WinRTError`
|
||||||
setProperty(root, 'WinRTError', Error);
|
setProperty(root, 'WinRTError', Error);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user