From: Feross Aboukhadijeh Date: Mon, 8 Aug 2016 05:06:09 +0000 (-0700) Subject: test: remove typed array support check X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=4b42560996649753f842dc90a2d0be260b137cfb;p=buffer.git test: remove typed array support check The node.js tests are only run in browsers that support new ES6 syntax (and all of those support typed arrays!) --- 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