[Pkg-javascript-commits] [node-parse-base64vlq-mappings] 21/26: switching from unstable trap to tap

Bastien Roucariès rouca at moszumanska.debian.org
Mon Sep 18 09:24:06 UTC 2017


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

rouca pushed a commit to branch master
in repository node-parse-base64vlq-mappings.

commit 553c6b2c440a62c79b8943726f595efb47730a17
Author: Thorsten Lorenz <thlorenz at gmx.de>
Date:   Fri Jul 5 21:36:21 2013 -0400

    switching from unstable trap to tap
---
 package.json                     | 4 ++--
 test/parse-base64vlq-mappings.js | 4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/package.json b/package.json
index 325585a..f309175 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
   "description": "Parses out base64 VLQ encoded mappings.",
   "main": "index.js",
   "scripts": {
-    "test": "node-trap test/*.js"
+    "test": "tap test/*.js"
   },
   "repository": {
     "type": "git",
@@ -14,7 +14,7 @@
   "dependencies": {},
   "devDependencies": {
     "source-map": "~0.1.9",
-    "trap": "~0.4.2"
+    "tap": "~0.4.3"
   },
   "keywords": [
     "base64",
diff --git a/test/parse-base64vlq-mappings.js b/test/parse-base64vlq-mappings.js
index 5ae74ea..7eb3dff 100644
--- a/test/parse-base64vlq-mappings.js
+++ b/test/parse-base64vlq-mappings.js
@@ -1,7 +1,7 @@
 'use strict';
 /*jshint asi: true */
 
-var test = require('trap').test
+var test = require('tap').test
   , parse = require('..')
   , Generator = require('source-map').SourceMapGenerator
 
@@ -38,6 +38,7 @@ test('parsing generated one to one mappings with last line having no original',
     , parsed = parse(mappings)
 
   t.deepEqual(parsed, addedMappings, 'parses out added mappings')
+  t.end()
 });
 
 test('parsing generated offset mappings with last line having no original', function (t) {
@@ -68,5 +69,6 @@ test('parsing generated offset mappings with last line having no original', func
     , parsed = parse(mappings)
 
   t.deepEqual(parsed, addedMappings, 'parses out added mappings')
+  t.end()
 });
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-parse-base64vlq-mappings.git



More information about the Pkg-javascript-commits mailing list