Skip to content

Commit 11217cb

Browse files
committed
fix: remove bad variable name
1 parent 9ca576b commit 11217cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/src/hooks/debounce.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ describe(`${useDebouncedFunction.name}`, () => {
122122
-42,
123123
];
124124

125-
const dummyValue = false;
125+
const dummyFunction = jest.fn()
126126
for (const input of invalidInputs) {
127127
expect(() => {
128-
renderDebouncedValue(dummyValue, input);
128+
renderDebouncedFunction(dummyFunction, input);
129129
}).toThrow(
130130
`Provided debounce value ${input} must be a non-negative integer`,
131131
);

0 commit comments

Comments
 (0)