fix: passthrough isResponseOk to jest mocks

This commit is contained in:
Greg Richardson committed 2023-07-17 12:21:58 -06:00
1 parent 82020f7f67
commit abfa70805d
1 file changed
+1 -1
+1 -1
View File
@@ -1,3 +1,3 @@
export { isResponseOk } from 'lib/common/fetch'
export const get = jest.fn()
export const post = jest.fn()
export const isResponseOk = jest.fn().mockRejectedValue(true)