Race conditions

This commit is contained in:
adrinr 2023-01-31 22:50:52 +00:00
parent 2ab3680538
commit abe3e2921f
3 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ describe("test the link controller", () => {
let table1, table2, appId let table1, table2, appId
beforeEach(async () => { beforeEach(async () => {
config.modeCloud()
const app = await config.init() const app = await config.init()
appId = app.appId appId = app.appId
const { _id } = await config.createTable() const { _id } = await config.createTable()

View File

@ -147,6 +147,7 @@ class TestConfiguration {
await this.createSession(this.tenant1User!) await this.createSession(this.tenant1User!)
}) })
} catch (e: any) { } catch (e: any) {
console.log(e)
throw new Error(e.message) throw new Error(e.message)
} }
} }