Skip to content

Commit

Permalink
chore: debug ci test failure (working locally)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlairCurrey committed Mar 5, 2025
1 parent e8d0854 commit 94dfa00
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/backend/src/tests/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ export const createTestApp = async (
config.openPaymentsUrl = 'https://op.example'
config.walletAddressUrl = 'https://wallet.example/.well-known/pay'

const knex = await container.use('knex')

if (caller) {
console.log(caller, { tenants: Tenant.query(knex) })
}

const app = new App(container)
await start(container, app)

Expand All @@ -110,10 +116,6 @@ export const createTestApp = async (
})
.persist()

const knex = await container.use('knex')

console.log(caller, { tenants: Tenant.query(knex) })

const client = await createApolloClient(container, app)

return {
Expand Down

0 comments on commit 94dfa00

Please sign in to comment.