[Pkg-javascript-commits] [node-fined] 02/04: Manually skip windows tests since the this.skip syntax is broken in mocha
Paolo Greppi
paolog-guest at moszumanska.debian.org
Tue Dec 13 17:14:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
paolog-guest pushed a commit to branch master
in repository node-fined.
commit 0b59b50fbbcc298d207fc02457654e6e63436e46
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date: Tue Dec 13 17:11:28 2016 +0000
Manually skip windows tests since the this.skip syntax is broken in mocha
---
debian/patches/01-skip.diff | 27 +++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 28 insertions(+)
diff --git a/debian/patches/01-skip.diff b/debian/patches/01-skip.diff
new file mode 100644
index 0000000..3e0f41f
--- /dev/null
+++ b/debian/patches/01-skip.diff
@@ -0,0 +1,27 @@
+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 at libpf.com>
+
+Index: node-fined/test/index.js
+===================================================================
+--- node-fined.orig/test/index.js
++++ node-fined/test/index.js
+@@ -654,7 +654,7 @@ describe('Properties: `path`', function(
+ 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;
+@@ -1432,7 +1432,7 @@ describe('Properties: `findUp`', functio
+ 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;
diff --git a/debian/patches/series b/debian/patches/series
index 609eb46..140028f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
00-expect.diff
+01-skip.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-fined.git
More information about the Pkg-javascript-commits
mailing list