[Pkg-javascript-commits] [node-browser-pack] 127/141: Switch to tap

Bastien Roucariès rouca at moszumanska.debian.org
Thu May 4 10:23:31 UTC 2017


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

rouca pushed a commit to branch master
in repository node-browser-pack.

commit 0b115f033fc832c98de24bc10fa97df840aad7e7
Author: Andres Suarez <zertosh at gmail.com>
Date:   Fri May 22 00:23:01 2015 -0400

    Switch to tap
    
    Since this is what browserify and other core deps use.
---
 package.json                 | 4 ++--
 test/comment.js              | 2 +-
 test/empty.js                | 2 +-
 test/not_found.js            | 2 +-
 test/only_execute_entries.js | 2 +-
 test/order.js                | 2 +-
 test/pack.js                 | 2 +-
 test/raw.js                  | 2 +-
 test/source-maps-existing.js | 2 +-
 test/source-maps.js          | 2 +-
 test/this.js                 | 2 +-
 test/unicode.js              | 2 +-
 12 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/package.json b/package.json
index 6523f65..e9c132e 100644
--- a/package.json
+++ b/package.json
@@ -15,13 +15,13 @@
     "umd": "^3.0.0"
   },
   "devDependencies": {
-    "tape": "^4.0.0",
+    "tap": "^1.1.0",
     "uglify-js": "1.3.5",
     "convert-source-map": "~1.1.0",
     "parse-base64vlq-mappings": "~0.1.1"
   },
   "scripts": {
-    "test": "tape test/*.js",
+    "test": "tap test/*.js",
     "prepublish": "node bin/prepublish.js"
   },
   "testling": {
diff --git a/test/comment.js b/test/comment.js
index 88f3569..b8a8fc7 100644
--- a/test/comment.js
+++ b/test/comment.js
@@ -1,4 +1,4 @@
-var test = require('tape');
+var test = require('tap').test;
 var pack = require('../');
 
 test('trailing comment', function (t) {
diff --git a/test/empty.js b/test/empty.js
index e871740..fedad05 100644
--- a/test/empty.js
+++ b/test/empty.js
@@ -1,4 +1,4 @@
-var test = require('tape');
+var test = require('tap').test;
 var pack = require('../');
 var vm = require('vm');
 
diff --git a/test/not_found.js b/test/not_found.js
index e8ca46b..f513fb3 100644
--- a/test/not_found.js
+++ b/test/not_found.js
@@ -1,4 +1,4 @@
-var test = require('tape');
+var test = require('tap').test;
 var pack = require('../');
 var concat = require('concat-stream');
 
diff --git a/test/only_execute_entries.js b/test/only_execute_entries.js
index c4c699e..a93e65f 100644
--- a/test/only_execute_entries.js
+++ b/test/only_execute_entries.js
@@ -1,4 +1,4 @@
-var test = require('tape');
+var test = require('tap').test;
 var pack = require('../');
 
 test('raw', function (t) {
diff --git a/test/order.js b/test/order.js
index 867b56c..563c1c7 100644
--- a/test/order.js
+++ b/test/order.js
@@ -1,4 +1,4 @@
-var test = require('tape');
+var test = require('tap').test;
 var pack = require('../');
 
 test('raw', function (t) {
diff --git a/test/pack.js b/test/pack.js
index 4573911..e397b49 100644
--- a/test/pack.js
+++ b/test/pack.js
@@ -1,4 +1,4 @@
-var test = require('tape');
+var test = require('tap').test;
 var pack = require('../');
 
 test('pack', function (t) {
diff --git a/test/raw.js b/test/raw.js
index a92327f..4ed7b0f 100644
--- a/test/raw.js
+++ b/test/raw.js
@@ -1,4 +1,4 @@
-var test = require('tape');
+var test = require('tap').test;
 var pack = require('../');
 
 test('raw', function (t) {
diff --git a/test/source-maps-existing.js b/test/source-maps-existing.js
index 4c092c2..6af2fe6 100644
--- a/test/source-maps-existing.js
+++ b/test/source-maps-existing.js
@@ -1,4 +1,4 @@
-var test = require('tape');
+var test = require('tap').test;
 var pack = require('../');
 var convert = require('convert-source-map');
 var parse = require('parse-base64vlq-mappings');
diff --git a/test/source-maps.js b/test/source-maps.js
index e4d4076..35bd59a 100644
--- a/test/source-maps.js
+++ b/test/source-maps.js
@@ -1,4 +1,4 @@
-var test = require('tape');
+var test = require('tap').test;
 var pack = require('../');
 var path = require('path');
 
diff --git a/test/this.js b/test/this.js
index ebef4a9..b097d8e 100644
--- a/test/this.js
+++ b/test/this.js
@@ -2,7 +2,7 @@
  * In node.js `this` on the module root is the same as `exports`. Browser-pack
  * should act like it too.
  **/
-var test = require('tape');
+var test = require('tap').test;
 var pack = require('../');
 
 test('this', function (t) {
diff --git a/test/unicode.js b/test/unicode.js
index 7cbf748..484f0a4 100644
--- a/test/unicode.js
+++ b/test/unicode.js
@@ -1,4 +1,4 @@
-var test = require('tape');
+var test = require('tap').test;
 var pack = require('../');
 
 test('unicode', function (t) {

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



More information about the Pkg-javascript-commits mailing list