Package: node-tap / 12.0.1+ds-1

0012-Disable-test-for-disabled-feature.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
From c125581c12e7f35fce6eac5153f412c2377037c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bastien=20ROUCARI=C3=88S?= <roucaries.bastien@gmail.com>
Date: Fri, 1 Dec 2017 16:52:33 +0100
Subject: Disable test for disabled feature

Forwarded: no
---
 test/run.js  | 13 ++++++++-----
 test/test.js |  3 ++-
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/test/run.js b/test/run.js
index 2cf6d98..0bf4faa 100644
--- a/test/run.js
+++ b/test/run.js
@@ -77,13 +77,14 @@ t.test('usage and other basics', t => {
       t.end()
     })
   })
+  /*
   t.test('--nyc-help', t => {
     run(['--nyc-help'], null, (er, o, e) => {
       t.equal(er, null)
       t.match(o, /\nOptions:\n/)
       t.end()
     })
-  })
+  })*/
   t.test('--version', t => {
     run(['--version'], null, (er, o, e) => {
       t.equal(er, null)
@@ -91,13 +92,14 @@ t.test('usage and other basics', t => {
       t.end()
     })
   })
+  /*
   t.test('--nyc-version', t => {
     run(['--nyc-version'], null, (er, o, e) => {
       t.equal(er, null)
       t.equal(o.trim(), require('nyc/package.json').version)
       t.end()
     })
-  })
+  })*/
   t.end()
 })
 
@@ -348,7 +350,7 @@ t.test('unknown arg throws', t => {
     t.end()
   })
 })
-
+/*
 t.test('coverage', t => {
   const cwd = process.cwd()
   process.chdir(dir)
@@ -439,7 +441,8 @@ t.test('coverage', t => {
 
   t.end()
 })
-
+*/
+/*
 t.test('save file', t => {
   const xy1 = tmpfile(t, 'x/y/1.js', `'use strict'
     const t = require(${tap})
@@ -513,7 +516,7 @@ t.test('save file', t => {
 
   t.end()
 })
-
+*/
 t.test('parallel', t => {
   // should see start, start, end, end, in the output
   tmpfile(t, 'p/y/1.js', `'use strict'
diff --git a/test/test.js b/test/test.js
index 697e5dc..acb6ff2 100644
--- a/test/test.js
+++ b/test/test.js
@@ -179,6 +179,7 @@ t.test('short output checks', t => {
     'child thrower': tt => tt.test('child test', tt =>
       tt.threw(new Error('ok'))).then(tt.end),
 
+    /*
     'child end event thrower': tt => {
       tt.test(tt => {
         tt.plan(1)
@@ -191,7 +192,7 @@ t.test('short output checks', t => {
         tt.equal(3, 3)
       })
       tt.end()
-    }
+    }*/
   }
 
   const keys = Object.keys(cases)