Skip to content

Commit

Permalink
chore: Updating Typescript error message
Browse files Browse the repository at this point in the history
  • Loading branch information
m-seidel committed Jun 13, 2024
1 parent b8d515e commit 0c2bfa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/weather-forecast/src/api/useWeather.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe("useWeather", () => {
});

expect(result.current.error).toEqual(
new TypeError("Cannot read property 'map' of undefined")
new TypeError("Cannot read properties of undefined (reading 'map')")
);
expect(log).toHaveBeenCalledTimes(1);
});
Expand Down

0 comments on commit 0c2bfa5

Please sign in to comment.