From 9bfc95950e88a681f0a4447375d6d2db0b065e7e Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Wed, 29 Nov 2023 08:41:30 +0000 Subject: [PATCH] test: return promises directly See https://eslint.org/docs/latest/rules/no-return-await --- src/index.test.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/index.test.js b/src/index.test.js index 0c5ddba..fa22dff 100644 --- a/src/index.test.js +++ b/src/index.test.js @@ -45,9 +45,7 @@ describe("Floc-Off plugin", () => { await server.ready(); }); - afterAll(async () => { - await server.close(); - }); + afterAll(async () => server.close()); it("Adds to an existing Permissions-Policy header", async () => { const response = await server.inject({