Expose beforeall error
This commit is contained in:
parent
dd2a05fdcb
commit
9c04ae5f85
|
@ -135,6 +135,7 @@ class TestConfiguration {
|
|||
// SETUP / TEARDOWN
|
||||
|
||||
async beforeAll() {
|
||||
try {
|
||||
this.#tenantId = `tenant-${utils.newid()}`
|
||||
|
||||
// Running tests in parallel causes issues creating the globaldb twice. This ensures the db is properly created before starting
|
||||
|
@ -145,6 +146,9 @@ class TestConfiguration {
|
|||
await this.createTenant1User()
|
||||
await this.createSession(this.tenant1User!)
|
||||
})
|
||||
} catch (e: any) {
|
||||
throw new Error(e.message)
|
||||
}
|
||||
}
|
||||
|
||||
async afterAll() {
|
||||
|
|
Loading…
Reference in New Issue