Skip to content

Commit

Permalink
test: return promises directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Nov 29, 2023
1 parent acf7aea commit 9bfc959
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 9bfc959

Please sign in to comment.