fix test setup

This commit is contained in:
Ulf Gebhardt 2023-02-13 13:50:45 +01:00
parent 92af85044f
commit a21c717b10
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -116,6 +116,11 @@ describe('TransactionLinkResolver', () => {
})
describe('redeemTransactionLink', () => {
afterAll(async () => {
await cleanDB()
resetToken()
})
describe('contributionLink', () => {
describe('input not valid', () => {
beforeAll(async () => {
@ -482,8 +487,7 @@ describe('TransactionLinkResolver', () => {
pageSize: 5,
}
// TODO: there is a test not cleaning up after itself! Fix it!
beforeAll(async () => {
afterAll(async () => {
await cleanDB()
resetToken()
})