[Pkg-javascript-commits] [node-liftoff] 05/09: skip tests that require a node_modules directory
Paolo Greppi
paolog-guest at moszumanska.debian.org
Wed Dec 14 09:06:08 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-liftoff.
commit 9684da99d2ba5c3f8b3b6a70e1e90f223123e8f9
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date: Wed Dec 14 07:37:00 2016 +0000
skip tests that require a node_modules directory
---
debian/patches/00-node_modules.diff | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 23 insertions(+)
diff --git a/debian/patches/00-node_modules.diff b/debian/patches/00-node_modules.diff
new file mode 100644
index 0000000..07ccdaa
--- /dev/null
+++ b/debian/patches/00-node_modules.diff
@@ -0,0 +1,22 @@
+Description: Skip tests that require a node_modules directory.
+Forwarded: not-needed
+Author: Paolo Greppi <paolo.greppi at libpf.com>
+
+Index: node-liftoff/test/index.js
+===================================================================
+--- node-liftoff.orig/test/index.js
++++ node-liftoff/test/index.js
+@@ -82,11 +82,11 @@ describe('Liftoff', function () {
+ expect(app.buildEnvironment({cwd:path.join(__dirname, 'fixtures', 'case')}).configPath).to.equal(expected);
+ });
+
+- it('should find module in the directory next to config', function () {
++ it.skip('should find module in the directory next to config', function () {
+ expect(app.buildEnvironment().modulePath).to.equal(path.resolve('node_modules/mocha/index.js'));
+ });
+
+- it('should require the package sibling to the module', function () {
++ it.skip('should require the package sibling to the module', function () {
+ expect(app.buildEnvironment().modulePackage).to.equal(require('../node_modules/mocha/package.json'));
+ });
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d0ce2a3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+00-node_modules.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-liftoff.git
More information about the Pkg-javascript-commits
mailing list