Skip to content

Commit

Permalink
rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
Idokah committed Feb 6, 2023
1 parent 56b9b74 commit afd93fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion apps/velo-external-db/test/resources/e2e_resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ export let env: E2E_ENV = {
app: Uninitialized,
internals: Uninitialized,
externalDbRouter: Uninitialized,
capabilities: Uninitialized
capabilities: Uninitialized,
enviormentVariables: Uninitialized,
}

const createAppWithWixDataBaseUrl = createApp.bind(null, wixDataBaseUrl())
Expand Down Expand Up @@ -51,6 +52,7 @@ export const currentDbImplementationName = () => testedSuit().currentDbImplement
export const initApp = async() => {
env = await testedSuit().initApp()
env.capabilities = testedSuit().implementation.capabilities
env.enviormentVariables = testedSuit().implementation.enviormentVariables
}
export const teardownApp = async() => {
await testedSuit().teardownApp()
Expand Down
3 changes: 2 additions & 1 deletion apps/velo-external-db/test/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export interface E2E_ENV {
app: App
externalDbRouter: ExternalDbRouter
internals: Internals
capabilities: Capabilities
capabilities: Capabilities,
enviormentVariables: { [key: string]: string }
}

export interface ProviderResourcesEnv {
Expand Down

0 comments on commit afd93fc

Please sign in to comment.