project-knedita/setupTest.ts

10 lines
217 B
TypeScript
Raw Normal View History

2023-07-20 11:15:29 +00:00
import prisma from './src/clients/prisma-client'
import redis from './src/clients/redis-client'
process.env.NODE_ENV = 'development'
2023-07-20 11:15:29 +00:00
afterAll(async () => {
await redis.disconnect()
2023-07-20 11:15:29 +00:00
await prisma.$disconnect()
})