1
0
Fork 0
mirror of synced 2024-07-07 07:15:43 +12:00

Merge branch 'master' into fix/user-search-api

This commit is contained in:
Michael Drury 2023-10-13 10:41:08 +01:00 committed by GitHub
commit ec213a3c7a
3 changed files with 12 additions and 1 deletions

View file

@ -1,5 +1,5 @@
{
"version": "2.11.31",
"version": "2.11.32",
"npmClient": "yarn",
"packages": [
"packages/*"

View file

@ -43,6 +43,10 @@ describe("postgres integrations", () => {
)
})
afterAll(async () => {
await databaseTestProviders.postgres.stopContainer()
})
beforeEach(async () => {
async function createAuxTable(prefix: string) {
return await config.createTable({

View file

@ -36,3 +36,10 @@ export async function getDsConfig(): Promise<Datasource> {
},
}
}
export async function stopContainer() {
if (container) {
await container.stop()
container = undefined
}
}