[Pkg-javascript-commits] [node-stream-browserify] 18/44: delete the crap typed array test because whatever

Bastien Roucariès rouca at moszumanska.debian.org
Sun Aug 13 14:18:42 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-stream-browserify.

commit 43b12712cbc935b9ecafbdee46de8c6d25bcaddc
Author: James Halliday <mail at substack.net>
Date:   Fri Dec 20 00:28:06 2013 -0800

    delete the crap typed array test because whatever
---
 package.json         | 20 ++++++++++++++++----
 test/array_buffer.js |  1 -
 test/typedarray.js   | 23 -----------------------
 3 files changed, 16 insertions(+), 28 deletions(-)

diff --git a/package.json b/package.json
index 44cbe83..ea48e9d 100644
--- a/package.json
+++ b/package.json
@@ -8,8 +8,7 @@
     "process": "~0.5.1"
   },
   "devDependencies": {
-    "tape": "~2.3.2",
-    "tap": "~0.4.6"
+    "tape": "~2.3.2"
   },
   "scripts": {
     "test": "tap test/*.js"
@@ -30,7 +29,20 @@
     "url": "http://substack.net"
   },
   "license": "MIT",
-  "devDependencies": {
-    "tape": "~2.3.2"
+  "testling": {
+    "files": "test/*.js",
+    "browsers": [
+      "ie/8..latest",
+      "firefox/16..latest",
+      "firefox/nightly",
+      "chrome/22..latest",
+      "chrome/canary",
+      "opera/12..latest",
+      "opera/next",
+      "safari/5.1..latest",
+      "ipad/6.0..latest",
+      "iphone/6.0..latest",
+      "android-browser/4.2..latest"
+    ]
   }
 }
diff --git a/test/array_buffer.js b/test/array_buffer.js
index 7b1265c..68efa01 100644
--- a/test/array_buffer.js
+++ b/test/array_buffer.js
@@ -32,7 +32,6 @@ test('.writable writing ArrayBuffer', function(t) {
     t.end()
 });
 
-
 test('.writable writing Uint8array', function(t) {
     var writable = new TestWritable();
     
diff --git a/test/typedarray.js b/test/typedarray.js
deleted file mode 100644
index 1215dbe..0000000
--- a/test/typedarray.js
+++ /dev/null
@@ -1,23 +0,0 @@
-var test = require('tape');
-var Transform = require('../transform.js');
-var concat = require('concat-stream');
-
-test('array buffer', function (t) {
-    t.plan(1);
-    
-    var stream = new Transform;
-    stream._transform = function (buf, enc, next) {
-        this.push(buf.toString('hex'));
-        next();
-    };
-    
-    var xs = new Uint8Array(3);
-    xs[0] = 97, xs[1] = 98, xs[2] = 99;
-    
-    stream.pipe(concat(function (body) {
-        t.equal(body.toString('utf8'), '616263');
-    }));
-    
-    stream.write(xs);
-    stream.end();
-});

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-stream-browserify.git



More information about the Pkg-javascript-commits mailing list