Avoid false fails on Sauce mocked alert/prompt functions.

This commit is contained in:
John-David Dalton
2014-08-23 12:53:12 -07:00
parent 87879a6784
commit 6b59a924e8

View File

@@ -6102,8 +6102,8 @@
(function() {
var args = arguments;
test('should return `true` for native methods', 8, function() {
_.each([root.alert, Array, create, freeze, root.prompt, slice, Uint8Array], function(func) {
test('should return `true` for native methods', 6, function() {
_.each([Array, create, root.encodeURI, slice, Uint8Array], function(func) {
if (func) {
strictEqual(_.isNative(func), true);
}