From 41cb8ee0e967310b8391565dea740ef342c2c377 Mon Sep 17 00:00:00 2001 From: melohagan <101575380+melohagan@users.noreply.github.com> Date: Tue, 23 Jul 2024 09:49:49 +0100 Subject: [PATCH] any type for createMockContext (#14211) --- packages/backend-core/tests/core/utilities/structures/koa.ts | 2 +- scripts/deploy-camunda.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/backend-core/tests/core/utilities/structures/koa.ts b/packages/backend-core/tests/core/utilities/structures/koa.ts index 102fe029de..f9883dc1b9 100644 --- a/packages/backend-core/tests/core/utilities/structures/koa.ts +++ b/packages/backend-core/tests/core/utilities/structures/koa.ts @@ -2,7 +2,7 @@ import { createMockContext, createMockCookies } from "@shopify/jest-koa-mocks" import { BBContext } from "@budibase/types" export const newContext = (): BBContext => { - const ctx = createMockContext() + const ctx = createMockContext() as any return { ...ctx, path: "/", diff --git a/scripts/deploy-camunda.sh b/scripts/deploy-camunda.sh index 90400a0449..440de65bb2 100755 --- a/scripts/deploy-camunda.sh +++ b/scripts/deploy-camunda.sh @@ -25,8 +25,10 @@ zbctl deploy resource onboarding.bpmn --insecure zbctl deploy resource free_trial.bpmn --insecure zbctl deploy resource verify_sso_login.bpmn --insecure -cd ../../../../../budibase/packages/account-portal/packages/server +cd ../../../../../budibase/packages/pro +yarn && yarn build +cd ../account-portal/packages/server yarn worker:run & cd ../../../.. && yarn dev:accountportal