[Pkg-javascript-commits] [node-syntax-error] 31/47: Switch to tap

Bastien Roucariès rouca at moszumanska.debian.org
Fri Aug 25 19:30:00 UTC 2017


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

rouca pushed a commit to branch master
in repository node-syntax-error.

commit 112b801839962f0b57776531dae143944b9dbc7a
Author: Andres Suarez <zertosh at gmail.com>
Date:   Fri May 22 01:10:43 2015 -0400

    Switch to tap
    
    Since this is what browserify and other core deps use.
---
 package.json  | 4 ++--
 test/check.js | 2 +-
 test/html.js  | 2 +-
 test/ok.js    | 2 +-
 test/run.js   | 2 +-
 test/run2.js  | 2 +-
 test/yield.js | 2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/package.json b/package.json
index cf375cb..218181d 100644
--- a/package.json
+++ b/package.json
@@ -7,10 +7,10 @@
     "acorn": "^1.0.3"
   },
   "devDependencies": {
-    "tape": "~2.4.1"
+    "tap": "^1.1.0"
   },
   "scripts": {
-    "test": "tape test/*.js"
+    "test": "tap test/*.js"
   },
   "repository": {
     "type": "git",
diff --git a/test/check.js b/test/check.js
index f820477..f849cd3 100644
--- a/test/check.js
+++ b/test/check.js
@@ -1,4 +1,4 @@
-var test = require('tape');
+var test = require('tap').test;
 
 var fs = require('fs');
 var check = require('../');
diff --git a/test/html.js b/test/html.js
index 2af4376..7f0dbd6 100644
--- a/test/html.js
+++ b/test/html.js
@@ -1,4 +1,4 @@
-var test = require('tape');
+var test = require('tap').test;
 
 var fs = require('fs');
 var check = require('../');
diff --git a/test/ok.js b/test/ok.js
index b4effba..21b4eb9 100644
--- a/test/ok.js
+++ b/test/ok.js
@@ -1,4 +1,4 @@
-var test = require('tape');
+var test = require('tap').test;
 
 var fs = require('fs');
 var check = require('../');
diff --git a/test/run.js b/test/run.js
index c047954..704ee15 100644
--- a/test/run.js
+++ b/test/run.js
@@ -1,4 +1,4 @@
-var test = require('tape');
+var test = require('tap').test;
 var check = require('../');
 
 var fs = require('fs');
diff --git a/test/run2.js b/test/run2.js
index e43e0a0..cfb7e02 100644
--- a/test/run2.js
+++ b/test/run2.js
@@ -1,4 +1,4 @@
-var test = require('tape');
+var test = require('tap').test;
 var check = require('../');
 
 var fs = require('fs');
diff --git a/test/yield.js b/test/yield.js
index 3716d93..701e01a 100644
--- a/test/yield.js
+++ b/test/yield.js
@@ -1,4 +1,4 @@
-var test = require('tape');
+var test = require('tap').test;
 
 var fs = require('fs');
 var check = require('../');

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



More information about the Pkg-javascript-commits mailing list