Skip to content

Commit c01bac4

Browse files
committed
tests: remove custom cache header on error response
1 parent 3cec44a commit c01bac4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/renderStatsCard.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,5 @@ describe("Test GitHub Readme Profile API", () => {
147147
expect(card).not.toHaveBeenCalledWith();
148148
expect(mockResponse.send).toHaveBeenCalled();
149149
expect(mockResponse.json).not.toHaveBeenCalled();
150-
expect(mockResponse.setHeader).toHaveBeenCalledWith("Cache-Control", "s-maxage=3600, stale-while-revalidate");
151150
});
152151
});

0 commit comments

Comments
 (0)