Skip to content

Commit

Permalink
update fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Jan 11, 2024
1 parent 4d251cb commit af73a69
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -5,4 +5,3 @@ lib
node_modules
public/output.css
tmp
db.json
13 changes: 13 additions & 0 deletions fixtures/db.json
@@ -0,0 +1,13 @@
{
"posts": [
{ "id": "1", "title": "a title" },
{ "id": "2", "title": "another title" }
],
"comments": [
{ "id": "1", "text": "a comment about post 1", "postId": "1" },
{ "id": "2", "text": "another comment about post 1", "postId": "1" }
],
"profile": {
"name": "typicode"
}
}
3 changes: 3 additions & 0 deletions fixtures/db.json5
Expand Up @@ -21,4 +21,7 @@
postId: '1',
},
],
profile: {
name: 'typicode',
},
}

0 comments on commit af73a69

Please sign in to comment.