Package: node-fined / 1.2.0+~cs4.5.1-1

01-skip.diff 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
Description: Manually skip windows tests since the this.skip
 syntax is broken in mocha.
Bug: https://github.com/mochajs/mocha/issues/1901
Author: Paolo Greppi <paolo.greppi@libpf.com>

--- a/test/index.js
+++ b/test/index.js
@@ -753,7 +753,7 @@
     done();
   });
 
-  it('ignores `cwd` when `path` has a drive letter (Windows only)', function(done) {
+  it.skip('ignores `cwd` when `path` has a drive letter (Windows only)', function(done) {
     if (!isWindows) {
       this.skip();
       return;
@@ -1531,7 +1531,7 @@
     done();
   });
 
-  it('does not search up the tree if `cwd` has a drive letter (Windows only)', function(done) {
+  it.skip('does not search up the tree if `cwd` has a drive letter (Windows only)', function(done) {
     if (!isWindows) {
       this.skip();
       return;