From 4b42560996649753f842dc90a2d0be260b137cfb Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Sun, 7 Aug 2016 22:06:09 -0700 Subject: [PATCH] test: remove typed array support check MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The node.js tests are only run in browsers that support new ES6 syntax (and all of those support typed arrays!) --- bin/download-node-tests.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/download-node-tests.js b/bin/download-node-tests.js index 6b327a4..fd543b9 100755 --- a/bin/download-node-tests.js +++ b/bin/download-node-tests.js @@ -65,8 +65,7 @@ function testfixer (filename) { if (firstline) { // require buffer explicitly - var preamble = 'var Buffer = require(\'../../\').Buffer;\n' + - 'if (!Buffer.TYPED_ARRAY_SUPPORT) return;' + var preamble = 'var Buffer = require(\'../../\').Buffer;\n' if (/use strict/.test(line)) line += '\n' + preamble else line + preamble + '\n' + line firstline = false -- 2.34.1