This commit is contained in:
typicode
2016-12-25 19:13:50 +01:00
parent 69321be00f
commit 16f3624237

View File

@ -689,7 +689,7 @@ describe('Server', () => {
.end(done)
})
it('should rewrite using query without params', function (done) {
it('should rewrite using query without params', (done) => {
const expectedPost = _.cloneDeep(db.posts[0])
expectedPost.comments = [ db.comments[0], db.comments[1] ]
request(server)
@ -698,7 +698,7 @@ describe('Server', () => {
.end(done)
})
it('should rewrite using params and query', function (done) {
it('should rewrite using params and query', (done) => {
request(server)
.get('/comments/special/1-quux')
.expect([db.comments[4]])