Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bring in nodeunit for tests

  • Loading branch information...
commit c10487bd2881ea3554f12adb7aff30d7e5bb059e 1 parent 0d5fa41
@psalaets psalaets authored
Showing with 17 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +6 −0 package.json
  3. +10 −0 test/test.js
View
1  .gitignore
@@ -1,2 +1,3 @@
+node_modules
node-schedule.tmproj
.DS_Store
View
6 package.json
@@ -9,8 +9,14 @@
"url": "http://mattpatenaude.com"
},
"main": "./lib/schedule.js",
+ "scripts": {
+ "test": "./node_modules/.bin/nodeunit test"
+ },
"repository": {
"type": "git",
"url": "https://github.com/mattpat/node-schedule.git"
+ },
+ "devDependencies": {
+ "nodeunit": "~0.8.1"
}
}
View
10 test/test.js
@@ -0,0 +1,10 @@
+var main = require('../package.json').main;
+var schedule = require('../' + main);
+
+module.exports = {
+ "just run": function(test) {
+ test.ok(true);
+
+ test.done();
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.