diff --git a/test/test.js b/test/test.js index ba4a4c136..c510af1ea 100644 --- a/test/test.js +++ b/test/test.js @@ -63,8 +63,9 @@ var ArrayBuffer = root.ArrayBuffer, Buffer = root.Buffer, - Promise = root.Promise, Map = root.Map, + Promise = root.Promise, + Proxy = root.Proxy, Set = root.Set, Symbol = root.Symbol, Uint8Array = root.Uint8Array, @@ -10522,6 +10523,17 @@ assert.strictEqual(_.isFunction(generator), typeof generator == 'function'); }); + QUnit.test('should return `true` for the `Proxy` constructor', function(assert) { + assert.expect(1); + + if (Proxy) { + assert.strictEqual(_.isFunction(Proxy), true); + } + else { + skipAssert(assert); + } + }); + QUnit.test('should return `true` for array view constructors', function(assert) { assert.expect(1);