Added npm's tasks in order to run unit test in watch mode
This commit is contained in:
parent
612198431a
commit
d4206a70d8
11
batch/job_adapter.js
Normal file
11
batch/job_adapter.js
Normal file
@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
function JobAdapter() {
|
||||
|
||||
}
|
||||
|
||||
module.exports = JobAdapter;
|
||||
|
||||
JobAdapter.prototype.parse = function (job) {
|
||||
|
||||
};
|
@ -45,7 +45,9 @@
|
||||
"sqlite3": "~3.0.8"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "make test-all"
|
||||
"test": "make test-all",
|
||||
"test:unit": "mocha test/unit/**/*.js",
|
||||
"test:unit:watch": "npm run test:unit -- -w"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.8 <0.11",
|
||||
|
3
test/unit/batch/job_adapter.js
Normal file
3
test/unit/batch/job_adapter.js
Normal file
@ -0,0 +1,3 @@
|
||||
'use strict';
|
||||
|
||||
var JobAdapter = require('../../../batch/job_adapter');
|
Loading…
Reference in New Issue
Block a user