We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16bf793 commit 3726ec8Copy full SHA for 3726ec8
packages/hooks/src/useControlledState/__tests__/index.spec.ts
@@ -53,7 +53,7 @@ describe('useControlledState', () => {
53
const warnSpy = vi.spyOn(console, 'warn').mockImplementation(() => { });
54
setValue((prev: number) => prev + 1);
55
expect(warnSpy).toHaveBeenCalledWith(
56
- 'Function callbacks are not supported. See: https://github.com/adobe/react-spectrum/issues/2320'
+ 'Function callbacks are not supported.'
57
);
58
expect(state.value).toBe(2);
59
expect(onChange).toHaveBeenCalledWith(2);
0 commit comments