Skip to content

Commit f67a4d8

Browse files
author
uid10804
committed
test(server): update test to include float values in validation
1 parent 14e735d commit f67a4d8

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed
Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
2-
"posts": [
3-
{ "id": 1, "title": "json-server", "author": "typicode" }
4-
],
5-
"comments": [
6-
{ "body": "some comment", "postId": 1 }
7-
],
8-
"profile": { "name": "typicode" }
9-
}
2+
"posts": [{ "id": 1, "title": "json-server", "author": "typicode" }],
3+
"comments": [{ "body": "some comment", "postId": 1 }],
4+
"profile": { "name": "typicode" },
5+
"coordinates": [
6+
{
7+
"id": 3,
8+
"latitude": 40.73061,
9+
"longitude": -73.935242
10+
}
11+
]
12+
}

0 commit comments

Comments
 (0)