Files
omnivore/packages/api/test/global-setup.ts
Hongbo Wu a04e91472d fix a bug of using article as table name in the reminders query (#34)
* fix a bug of using article as table name in the reminders query

* fix test

* increase timeout value

* increase timeout value to 50000

* add import mocha

* add import mocha for label test

* add import mocha for every test

* fix test in deleting labels

* add timeout for each label test

* one more test

* fix reminders router by allowing sendrid template id to be null

* do not retry if reminders not found
2022-02-14 13:59:04 +08:00

7 lines
163 B
TypeScript

import { createTestConnection } from './db'
export const mochaGlobalSetup = async () => {
await createTestConnection()
console.log('db connection created')
}