tapjs/stack-utils

Need to disable some test on debian

bastien-roucaries opened this issue · 1 comments

With node 8, debian need to disable some test:

Author: Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
Date:   Tue Jun 5 23:16:03 2018 +0200

    Disable some test due to newer node
    
    Forwarded: not-needed

diff --git a/test/at.js b/test/at.js
index 1881469..91c932d 100644
--- a/test/at.js
+++ b/test/at.js
@@ -10,6 +10,7 @@ var base = __filename.substr(process.cwd().length + 1)
 t.match(stack.at(), { line: Number, column: Number, file: base })
 
 // a capture from a native site
+/*
 var arr = [ 0 ]
 var captures = arr.map(function xyz (n) {
   return stack.at(xyz)
@@ -22,3 +23,4 @@ t.match(captures, [ {
   type: 'Array',
   function: 'map'
 } ])
+*/
\ No newline at end of file
diff --git a/test/test.js b/test/test.js
index 58d29a5..340174f 100644
--- a/test/test.js
+++ b/test/test.js
@@ -176,7 +176,7 @@ t.test('captureString: two redirects', function (t) {
   ]));
   t.end()
 });
-
+/*
 t.test('captureString: with startStack function', function (t) {
   var stack = new StackUtils({internals: internals(), cwd: utils.fixtureDir});
   var capture = new CaptureFixture(stack);
@@ -188,7 +188,7 @@ t.test('captureString: with startStack function', function (t) {
   ]));
   t.end()
 });
-
+*/
 t.test('captureString: with limit', function (t) {
   var stack = new StackUtils({internals: internals(), cwd: utils.fixtureDir});
   var capture = new CaptureFixture(stack);

This is fixed stack-tools.