diff --git a/packages/pro b/packages/pro index ad9b4b7860..a1604e6a29 160000 --- a/packages/pro +++ b/packages/pro @@ -1 +1 @@ -Subproject commit ad9b4b78600b36c4ff112d343c8e8fbb0be5630c +Subproject commit a1604e6a29ece75aba1e0b1fbbc074ef357493aa diff --git a/packages/worker/src/api/routes/global/tests/scim.spec.ts b/packages/worker/src/api/routes/global/tests/scim.spec.ts index 106dfb3b19..4766f54f96 100644 --- a/packages/worker/src/api/routes/global/tests/scim.spec.ts +++ b/packages/worker/src/api/routes/global/tests/scim.spec.ts @@ -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()