Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
cigolpl committed Jun 9, 2020
1 parent 41147b4 commit 2ba2ee9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Fast faceted search",
"main": "server.js",
"scripts": {
"start": "node app.js"
"start": "node app.js",
"test": "mocha -b --exit tests/*"
},
"author": "Mateusz Rzepa",
"repository": "itemsapi/itemsapi",
Expand All @@ -28,5 +29,7 @@
"nunjucks": "^3.2.1",
"urijs": "^1.18.2"
},
"devDependencies": {}
"devDependencies": {
"mocha": "^7.2.0"
}
}
6 changes: 6 additions & 0 deletions tests/indexSpec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const assert = require('assert');

describe('search', function() {
it('should search items', async function() {
});
});

0 comments on commit 2ba2ee9

Please sign in to comment.