Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-01-13 23:40:15 +0300
committerisaacs <i@izs.me>2011-01-13 23:40:15 +0300
commit622eb45ec651a2dd599e0175ef5513c4176da253 (patch)
tree0570a45cb28cee2907f27e3e0d928ae4c29b48f5 /test
parenteff1936363f7c23941856c2493d2907dbb4ccc21 (diff)
better test for this
Diffstat (limited to 'test')
-rw-r--r--test/packages/depends-on-jsdom/package.json1
-rw-r--r--test/packages/depends-on-jsdom/test.js13
2 files changed, 14 insertions, 0 deletions
diff --git a/test/packages/depends-on-jsdom/package.json b/test/packages/depends-on-jsdom/package.json
index c17b80b48..88fb02650 100644
--- a/test/packages/depends-on-jsdom/package.json
+++ b/test/packages/depends-on-jsdom/package.json
@@ -1,4 +1,5 @@
{ "name" : "depends-on-jsdom"
, "version" : "1.0.0"
, "dependencies" : { "jsdom" : "*" }
+, "scripts" : { "test" : "node test.js" }
}
diff --git a/test/packages/depends-on-jsdom/test.js b/test/packages/depends-on-jsdom/test.js
new file mode 100644
index 000000000..359830004
--- /dev/null
+++ b/test/packages/depends-on-jsdom/test.js
@@ -0,0 +1,13 @@
+require.paths.unshift
+ ( "./node_modules"
+ , "../node_modules"
+ , "../../node_modules"
+ , "../../../node_modules"
+ , "../../../../node_modules"
+ , "../../../../../node_modules"
+ , "../../../../../../node_modules"
+ , "../../../../../../../node_modules"
+ , "../../../../../../../../node_modules")
+
+require("jsdom")
+require("htmlparser")