mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
test start
This commit is contained in:
parent
b291c56d7b
commit
f6b386101d
18
backend/src/graphql/resolver/TransactionResolver.test.ts
Normal file
18
backend/src/graphql/resolver/TransactionResolver.test.ts
Normal file
@ -0,0 +1,18 @@
|
||||
import { cleanDB, testEnvironment } from '@test/helpers'
|
||||
import { logger } from '@test/testSetup'
|
||||
|
||||
let mutate: any, query: any, con: any
|
||||
let testEnv: any
|
||||
|
||||
beforeAll(async () => {
|
||||
testEnv = await testEnvironment(logger)
|
||||
mutate = testEnv.mutate
|
||||
query = testEnv.query
|
||||
con = testEnv.con
|
||||
await cleanDB()
|
||||
})
|
||||
|
||||
afterAll(async () => {
|
||||
await cleanDB()
|
||||
await con.close()
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user