Skip to content

Commit af73a69

Browse files
committed
update fixtures
1 parent 4d251cb commit af73a69

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ lib
55
node_modules
66
public/output.css
77
tmp
8-
db.json

fixtures/db.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"posts": [
3+
{ "id": "1", "title": "a title" },
4+
{ "id": "2", "title": "another title" }
5+
],
6+
"comments": [
7+
{ "id": "1", "text": "a comment about post 1", "postId": "1" },
8+
{ "id": "2", "text": "another comment about post 1", "postId": "1" }
9+
],
10+
"profile": {
11+
"name": "typicode"
12+
}
13+
}

fixtures/db.json5

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,7 @@
2121
postId: '1',
2222
},
2323
],
24+
profile: {
25+
name: 'typicode',
26+
},
2427
}

0 commit comments

Comments
 (0)