mirror of
https://github.com/typicode/json-server.git
synced 2025-08-03 04:12:22 +08:00
Update all dependencies and lint fix
This commit is contained in:
@ -11,7 +11,10 @@ describe('Server with custom foreign key', () => {
|
||||
beforeEach(() => {
|
||||
db = {}
|
||||
|
||||
db.posts = [{ id: 1, body: 'foo' }, { id: 2, body: 'bar' }]
|
||||
db.posts = [
|
||||
{ id: 1, body: 'foo' },
|
||||
{ id: 2, body: 'bar' }
|
||||
]
|
||||
|
||||
db.comments = [
|
||||
{ id: 1, post_id: 1 },
|
||||
|
Reference in New Issue
Block a user