File: 01-skip.diff

package info (click to toggle)
node-fined 1.2.0%2B~cs4.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 528 kB
  • sloc: javascript: 1,786; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 804 bytes parent folder | 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;