Skip to content

Commit db9418c

Browse files
committed
Cleanup
1 parent f252d5a commit db9418c

File tree

5 files changed

+3
-5
lines changed

5 files changed

+3
-5
lines changed

app/controllers/cities.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const model = require('../models/city')
2-
const base = require('./base')
32
const {
43
matchedData
54
} = require('express-validator/filter')

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-express-mongodb-jwt-rest-api-skeleton",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "Node.js express.js MongoDB JWT REST API - Basic Project Skeleton",
55
"license": "MIT",
66
"repository": {

test/auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ before((done) => {
2424
done()
2525
}, 10)
2626
})
27-
describe('*********** AUTH ***********', (end) => {
27+
describe('*********** AUTH ***********', () => {
2828

2929
describe('/POST login', () => {
3030
it('it should GET token', (done) => {

test/cities.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ describe('*********** CITIES ***********', () => {
158158
res.body.should.have.property('_id').eql(result.id)
159159
res.body.should.have.property('name').eql('JS123456')
160160
createdID.push(res.body._id)
161-
162161
})
163162
}
164163
done()

0 commit comments

Comments
 (0)