Skip to content

Commit

Permalink
Merge pull request #331 from formidablejs/feature/ts-tests
Browse files Browse the repository at this point in the history
feat: await test life cycle events
  • Loading branch information
donaldp authored Nov 22, 2023
2 parents 9836ec1 + 07545ab commit 06511d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions formidable/auth/ts/test/app.e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ const supertest = require('supertest')
describe('Application (e2e)', () => {
let app

beforeAll(() => {
beforeAll(async () => {
const application = await formidable

app = application.fastify()

await app.ready()
})

afterAll(() => {
afterAll(async () => {
await app.close()
})

Expand Down

0 comments on commit 06511d4

Please sign in to comment.