Skip to content

Commit

Permalink
test: use body alias for injections
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed May 27, 2023
1 parent fbf9b16 commit 58c9709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.test.js
Expand Up @@ -26,7 +26,7 @@ describe("Disablecache plugin", () => {
url: "/",
});

expect(response.payload).toBe("ok");
expect(response.body).toBe("ok");
expect(response.headers).toMatchObject({
"cache-control": "no-store, max-age=0, must-revalidate",
expires: "0",
Expand Down

0 comments on commit 58c9709

Please sign in to comment.