From: Feross Aboukhadijeh Date: Sat, 24 Sep 2016 01:59:08 +0000 (-0700) Subject: Remove object implementation tests X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=eb67a4b2f9602e1995d414b95902469eb3f0b821;p=buffer.git Remove object implementation tests --- diff --git a/package.json b/package.json index 509daa1..8d55934 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "test-browser-es5-local": "zuul --ui tape --local -- test/*.js", "test-browser-es6": "zuul --ui tape -- test/*.js test/node/*.js", "test-browser-es6-local": "zuul --ui tape --local -- test/*.js test/node/*.js", - "test-node": "tape test/*.js test/node/*.js && OBJECT_IMPL=true tape test/*.js", + "test-node": "tape test/*.js test/node/*.js", "update-authors": "./bin/update-authors.sh" }, "standard": { diff --git a/test/base64.js b/test/base64.js index e4ecc56..9513b25 100644 --- a/test/base64.js +++ b/test/base64.js @@ -1,4 +1,3 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false var B = require('../').Buffer var test = require('tape') diff --git a/test/basic.js b/test/basic.js index 0368ed9..b289b3a 100644 --- a/test/basic.js +++ b/test/basic.js @@ -1,4 +1,3 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false var B = require('../').Buffer var test = require('tape') diff --git a/test/compare.js b/test/compare.js index 62b478c..5d4d76c 100644 --- a/test/compare.js +++ b/test/compare.js @@ -1,4 +1,3 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false var B = require('../').Buffer var test = require('tape') diff --git a/test/constructor.js b/test/constructor.js index cec5cdc..b3e3240 100644 --- a/test/constructor.js +++ b/test/constructor.js @@ -1,4 +1,3 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false var B = require('../').Buffer var test = require('tape') diff --git a/test/from-string.js b/test/from-string.js index e25db26..7b6601a 100644 --- a/test/from-string.js +++ b/test/from-string.js @@ -1,4 +1,3 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false var B = require('../').Buffer var test = require('tape') diff --git a/test/is-buffer.js b/test/is-buffer.js index 3744b23..177e98e 100644 --- a/test/is-buffer.js +++ b/test/is-buffer.js @@ -1,4 +1,3 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false var B = require('../').Buffer var isBuffer = require('is-buffer') var test = require('tape') diff --git a/test/methods.js b/test/methods.js index f4bd3f2..3696437 100644 --- a/test/methods.js +++ b/test/methods.js @@ -1,4 +1,3 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false var B = require('../').Buffer var test = require('tape') diff --git a/test/slice.js b/test/slice.js index 25c111c..b2cc290 100644 --- a/test/slice.js +++ b/test/slice.js @@ -1,4 +1,3 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false var B = require('../').Buffer var test = require('tape') diff --git a/test/static.js b/test/static.js index 4de900b..a2380b5 100644 --- a/test/static.js +++ b/test/static.js @@ -1,4 +1,3 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false var B = require('../').Buffer var test = require('tape') diff --git a/test/to-string.js b/test/to-string.js index 2950d4d..b7305d0 100644 --- a/test/to-string.js +++ b/test/to-string.js @@ -1,4 +1,3 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false var B = require('../').Buffer var test = require('tape') diff --git a/test/write.js b/test/write.js index 5841806..6e85afc 100644 --- a/test/write.js +++ b/test/write.js @@ -1,4 +1,3 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false var B = require('../').Buffer var test = require('tape') var isnan = require('is-nan') diff --git a/test/write_infinity.js b/test/write_infinity.js index 17d606a..ffe80d6 100644 --- a/test/write_infinity.js +++ b/test/write_infinity.js @@ -1,4 +1,3 @@ -if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false var B = require('../').Buffer var test = require('tape')