diff --git a/src/index.test.js b/src/index.test.js index 9fd30e6..1a97c22 100644 --- a/src/index.test.js +++ b/src/index.test.js @@ -19,9 +19,7 @@ describe("Disablecache plugin", () => { await server.ready(); }); - afterAll(async () => { - await server.close(); - }); + afterAll(async () => server.close()); it("Sets relevant cache response headers", async () => { const response = await server.inject({