1
0
Fork 0
mirror of synced 2024-08-10 23:51:24 +12:00

Fixing test case.

This commit is contained in:
mike12345567 2022-07-15 17:45:35 +01:00
parent c525721854
commit b7894d7f9e

View file

@ -37,9 +37,10 @@ describe("/permission", () => {
.expect("Content-Type", /json/)
.expect(200)
expect(res.body).toBeDefined()
expect(res.body.length).toEqual(2)
expect(res.body.length).toEqual(3)
expect(res.body).toContain("read")
expect(res.body).toContain("write")
expect(res.body).toContain("execute")
})
})