Fix tests

This commit is contained in:
Adria Navarro 2024-03-08 13:14:20 +01:00
parent 4ee7d20857
commit 72e0388b62
2 changed files with 6 additions and 3 deletions

@ -1 +1 @@
Subproject commit ad9b4b78600b36c4ff112d343c8e8fbb0be5630c
Subproject commit a1604e6a29ece75aba1e0b1fbbc074ef357493aa

View File

@ -13,14 +13,17 @@ import { events } from "@budibase/backend-core"
jest.setTimeout(30000)
describe("scim", () => {
beforeEach(async () => {
async function setup() {
jest.resetAllMocks()
tk.freeze(mocks.date.MOCK_DATE)
mocks.licenses.useScimIntegration()
mocks.licenses.useGroups()
await config.setSCIMConfig(true)
})
}
beforeAll(setup)
beforeEach(setup)
const config = new TestConfiguration()