any type for createMockContext (#14211)

This commit is contained in:
melohagan 2024-07-23 09:49:49 +01:00 committed by GitHub
parent 7bc92fef24
commit 41cb8ee0e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import { createMockContext, createMockCookies } from "@shopify/jest-koa-mocks"
import { BBContext } from "@budibase/types" import { BBContext } from "@budibase/types"
export const newContext = (): BBContext => { export const newContext = (): BBContext => {
const ctx = createMockContext() const ctx = createMockContext() as any
return { return {
...ctx, ...ctx,
path: "/", path: "/",

View File

@ -25,8 +25,10 @@ zbctl deploy resource onboarding.bpmn --insecure
zbctl deploy resource free_trial.bpmn --insecure zbctl deploy resource free_trial.bpmn --insecure
zbctl deploy resource verify_sso_login.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 yarn worker:run & cd ../../../.. && yarn dev:accountportal