any type for createMockContext (#14211)
This commit is contained in:
parent
7bc92fef24
commit
41cb8ee0e9
|
@ -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: "/",
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue