mirror of
https://github.com/prymitive/karma
synced 2026-05-11 03:46:48 +00:00
fix(tests): update tests
This commit is contained in:
committed by
Łukasz Mierzwa
parent
26093ac4af
commit
06a5de1b6c
@@ -271,7 +271,7 @@ describe("useFetchGet", () => {
|
||||
|
||||
expect(result.current.response).toBe(null);
|
||||
expect(result.current.error).toBe(
|
||||
"invalid json response body at http://localhost/json/invalid reason: Unexpected token h in JSON at position 1"
|
||||
"invalid json response body at http://localhost/json/invalid reason: Unexpected token 'h', \"this is not\"... is not valid JSON"
|
||||
);
|
||||
expect(result.current.isLoading).toBe(false);
|
||||
expect(result.current.isRetrying).toBe(false);
|
||||
|
||||
Reference in New Issue
Block a user