mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 12:43:18 +08:00
Add prettier
This commit is contained in:
@ -13,19 +13,14 @@ describe('mixins', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
db = {
|
||||
posts: [
|
||||
{ id: 1, comment: 1 }
|
||||
],
|
||||
posts: [{ id: 1, comment: 1 }],
|
||||
comments: [
|
||||
{ id: 1, postId: 1 },
|
||||
// Comments below references a post that doesn't exist
|
||||
{ id: 2, postId: 2 },
|
||||
{ id: 3, postId: 2 }
|
||||
],
|
||||
photos: [
|
||||
{ id: '1' },
|
||||
{ id: '2' }
|
||||
]
|
||||
photos: [{ id: '1' }, { id: '2' }]
|
||||
}
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user