Skip to content
Snippets Groups Projects
Commit 76eef59e authored by Sebastian Mihalache's avatar Sebastian Mihalache
Browse files

feat(component-user-manager): update get test

parent 241e12ce
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', () => {
expect(res.statusCode).toBe(200)
const data = JSON.parse(res._getData())
expect(data).toHaveLength(1)
expect(data[0].isSubmitting).toBeDefined()
expect(data[0].type).toBe('user')
})
it('should return an error when the collection does not exist', async () => {
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