aboutsummaryrefslogtreecommitdiff
path: root/node_modules/es6-weak-map/test/is-weak-map.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/es6-weak-map/test/is-weak-map.js')
-rw-r--r--node_modules/es6-weak-map/test/is-weak-map.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/node_modules/es6-weak-map/test/is-weak-map.js b/node_modules/es6-weak-map/test/is-weak-map.js
deleted file mode 100644
index ba8c04519..000000000
--- a/node_modules/es6-weak-map/test/is-weak-map.js
+++ /dev/null
@@ -1,16 +0,0 @@
-'use strict';
-
-var WeakMapPoly = require('../polyfill');
-
-module.exports = function (t, a) {
- a(t(undefined), false, "Undefined");
- a(t(null), false, "Null");
- a(t(true), false, "Primitive");
- a(t('raz'), false, "String");
- a(t({}), false, "Object");
- a(t([]), false, "Array");
- if (typeof WeakMap !== 'undefined') {
- a(t(new WeakMap()), true, "Native");
- }
- a(t(new WeakMapPoly()), true, "Polyfill");
-};