Skip to content

Commit

Permalink
JSAB2-68 Test troops endpoint (green-fox-academy#13)
Browse files Browse the repository at this point in the history
* JSAB2-68, test troops endpoint

* JSAB2-68, test troops non-exist endpoint
  • Loading branch information
Kyya Wang authored and evasimonyi committed Dec 10, 2019
1 parent fa0229d commit f77d273
Show file tree
Hide file tree
Showing 6 changed files with 648 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ jobs:
- run:
name: 'run-backend-lint'
command: 'cd backend && yarn lint'
- run:
name: 'run-backend-test'
command: 'cd backend && yarn test'
3 changes: 2 additions & 1 deletion backend/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"env": {
"browser": true,
"commonjs": true,
"es6": true
"es6": true,
"mocha": true
},
"extends": [
"airbnb-base"
Expand Down
2 changes: 2 additions & 0 deletions backend/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ app.use((err, req, res, next) => {
});

app.listen(PORT);

module.exports = app;
Loading

0 comments on commit f77d273

Please sign in to comment.