[Pkg-javascript-commits] [node-tap] 34/186: call test functions to satisfy my coverage obsession

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 1 16:40:41 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 5561c474dc5801c55a4e33a209ad1194a23bca2d
Author: isaacs <i at izs.me>
Date:   Thu Sep 7 11:50:21 2017 -0700

    call test functions to satisfy my coverage obsession
---
 unit/parse-test-args.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/unit/parse-test-args.js b/unit/parse-test-args.js
index 4c3e321..d5d99c3 100644
--- a/unit/parse-test-args.js
+++ b/unit/parse-test-args.js
@@ -6,6 +6,10 @@ const fn = _ => _
 function named () {}
 const todoCb = pta().cb
 
+// call the funcs so that they're covered also
+named()
+fn()
+
 const cases = [
   ['foo', {}, fn, null, { name: 'foo', cb: fn }],
   [undefined, {}, fn, null, { cb: fn }],

-- 
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