Skip to content

Commit 0c556f6

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent da8e62c commit 0c556f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/helpers/fetch-mock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ fetchMock.mockResponse = (body: string, init?: ResponseInit) => {
9999
}
100100

101101
fetchMock.mockResponseOnce = (body: string, init?: ResponseInit) => {
102-
rules.unshift({
102+
rules.push({
103103
pattern: () => true,
104104
once: true,
105105
handler: async () => ({ body, status: init?.status, headers: init?.headers }),

0 commit comments

Comments
 (0)