Package: node-tap / 12.0.1+ds-1

0014-Skip-test-related-to-coverage.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
From bcaeb6c737ccbe101768b81b5b5e2e0e34c344cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bastien=20ROUCARI=C3=88S?= <roucaries.bastien@gmail.com>
Date: Mon, 11 Sep 2017 11:08:16 +0200
Subject: Skip test related to coverage

Forwarded: no
---
 test-legacy/coverage-export.js          | 2 ++
 test-legacy/coverage-html-no-browser.js | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/test-legacy/coverage-export.js b/test-legacy/coverage-export.js
index c7b3e3c..4b5e90f 100644
--- a/test-legacy/coverage-export.js
+++ b/test-legacy/coverage-export.js
@@ -7,6 +7,8 @@ var run = require.resolve('../bin/run.js')
 var ok = require.resolve('./test/ok.js')
 var testRe = /COVERAGE_SERVICE_TEST/
 
+process.exit()
+
 t.test('generate some coverage data', function (tt) {
   spawn(node, [run, ok, '--coverage'], {
     stdio: 'ignore'
diff --git a/test-legacy/coverage-html-no-browser.js b/test-legacy/coverage-html-no-browser.js
index 6f2d171..e24cf03 100644
--- a/test-legacy/coverage-html-no-browser.js
+++ b/test-legacy/coverage-html-no-browser.js
@@ -13,6 +13,8 @@ var rimraf = require('rimraf')
 var dir = __dirname + '/coverage-html-no-browser'
 var htmlfile = dir + '/coverage/lcov-report/bin/run.js.html'
 
+process.exit()
+
 t.test('setup a working dir', function (t) {
   mkdirp.sync(dir)
   t.end()