[Pkg-javascript-commits] [node-tap] 26/186: unit test for diags
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Dec 1 16:40:40 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-tap.
commit 246f1b087008efb7ae8a91a81bb0892dc6e9e2d3
Author: isaacs <i at izs.me>
Date: Tue Sep 5 21:49:39 2017 -0700
unit test for diags
---
unit/diags.js | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/unit/diags.js b/unit/diags.js
new file mode 100644
index 0000000..3dd1671
--- /dev/null
+++ b/unit/diags.js
@@ -0,0 +1,6 @@
+'use strict'
+const t = require('../')
+const diags = require('../lib/diags.js')
+
+t.match(diags({ todo: true }), '')
+t.match(diags({ foo: 1 }), ' ---\n foo: 1\n ...\n')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-tap.git
More information about the Pkg-javascript-commits
mailing list