Skip to content

Commit 0ba237b

Browse files
authored
docs(unit-testing): afterAll instead of afterEach
For Fastify e2e testing example
1 parent c1c6d0b commit 0ba237b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/fundamentals/unit-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ describe('Cats', () => {
288288
> await app.getHttpAdapter().getInstance().ready();
289289
> });
290290
>
291-
> afterEach(async () => {
291+
> afterAll(async () => {
292292
> await app.close();
293293
> });
294294
>

0 commit comments

Comments
 (0)