Skip to content
Snippets Groups Projects
Commit d68bf430 authored by Alexandru Munteanu's avatar Alexandru Munteanu
Browse files

Merge branch 'submit-revision' of gitlab.coko.foundation:xpub/xpub-faraday into submit-revision

parents ba2edb43 fd38e810
No related branches found
No related tags found
2 merge requests!13Sprint #14,!11Submit revision
...@@ -33,9 +33,9 @@ describe('Get fragments users route handler', () => { ...@@ -33,9 +33,9 @@ describe('Get fragments users route handler', () => {
expect(res.statusCode).toBe(200) expect(res.statusCode).toBe(200)
const data = JSON.parse(res._getData()) const data = JSON.parse(res._getData())
expect(data).toHaveLength(1) expect(data).toHaveLength(1)
expect(data[0].isSubmitting).toBeDefined() expect(data[0].isSubmitting).toBeDefined()
expect(data[0].type).toBe('user')
}) })
it('should return an error when the collection does not exist', async () => { it('should return an error when the collection does not exist', async () => {
const req = httpMocks.createRequest() const req = httpMocks.createRequest()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment