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 28, 2023
1 parent 5099a42 commit 85d35f0
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 @@ -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({
Expand Down

0 comments on commit 85d35f0

Please sign in to comment.