Fix tests
This commit is contained in:
parent
4ee7d20857
commit
72e0388b62
|
@ -1 +1 @@
|
||||||
Subproject commit ad9b4b78600b36c4ff112d343c8e8fbb0be5630c
|
Subproject commit a1604e6a29ece75aba1e0b1fbbc074ef357493aa
|
|
@ -13,14 +13,17 @@ import { events } from "@budibase/backend-core"
|
||||||
jest.setTimeout(30000)
|
jest.setTimeout(30000)
|
||||||
|
|
||||||
describe("scim", () => {
|
describe("scim", () => {
|
||||||
beforeEach(async () => {
|
async function setup() {
|
||||||
jest.resetAllMocks()
|
jest.resetAllMocks()
|
||||||
tk.freeze(mocks.date.MOCK_DATE)
|
tk.freeze(mocks.date.MOCK_DATE)
|
||||||
mocks.licenses.useScimIntegration()
|
mocks.licenses.useScimIntegration()
|
||||||
mocks.licenses.useGroups()
|
mocks.licenses.useGroups()
|
||||||
|
|
||||||
await config.setSCIMConfig(true)
|
await config.setSCIMConfig(true)
|
||||||
})
|
}
|
||||||
|
|
||||||
|
beforeAll(setup)
|
||||||
|
beforeEach(setup)
|
||||||
|
|
||||||
const config = new TestConfiguration()
|
const config = new TestConfiguration()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue