Skip to content

Commit d8c32ce

Browse files
committed
tests: add resource object meta support
1 parent 4cfd5cc commit d8c32ce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/normalize.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ describe('data is normalized', () => {
1414
},
1515
links: {
1616
self: 'http://www.example.com/post/3'
17+
},
18+
meta: {
19+
'like-count': 35
1720
}
1821
},
1922
{
@@ -40,6 +43,9 @@ describe('data is normalized', () => {
4043
},
4144
links: {
4245
self: 'http://www.example.com/post/3'
46+
},
47+
meta: {
48+
'like-count': 35
4349
}
4450
},
4551
"4": {

0 commit comments

Comments
 (0)