mirror of
https://github.com/typicode/json-server.git
synced 2025-07-30 05:31:41 +08:00
Update tests
This commit is contained in:
@ -165,7 +165,7 @@ describe('Server', () => {
|
|||||||
))
|
))
|
||||||
|
|
||||||
// https://github.com/typicode/json-server/issues/510
|
// https://github.com/typicode/json-server/issues/510
|
||||||
it.only('should not fail with null value', () => {
|
it('should not fail with null value', () => {
|
||||||
db.posts.push({ id: 99, body: null })
|
db.posts.push({ id: 99, body: null })
|
||||||
return request(server)
|
return request(server)
|
||||||
.get('/posts?body=foo')
|
.get('/posts?body=foo')
|
||||||
|
Reference in New Issue
Block a user