Skip to content

Commit

Permalink
Update frontend/__tests__/hooks/use-rate.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
amanape authored Nov 14, 2024
1 parent ed049f1 commit 775b1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/__tests__/hooks/use-rate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe("useRate", () => {
expect(result.current.lastUpdated).toBe(1000);
});

it("should update isExceeding after [threshold]ms of no activity", () => {
it("should update isUnderThreshold after [threshold]ms of no activity", () => {
const { result } = renderHook(() => useRate({ threshold: 500 }));

expect(result.current.isUnderThreshold).toBe(true);
Expand Down

0 comments on commit 775b1ff

Please sign in to comment.