mirror of
https://github.com/streamich/react-use.git
synced 2026-01-18 14:06:52 +00:00
fix: remove console log 🤓
This commit is contained in:
parent
aaefdf8535
commit
f17c8a0f8e
@ -55,7 +55,7 @@ describe('useCopyToClipboard', () => {
|
||||
testValue = ''; // emtpy string is also invalid
|
||||
act(() => copyToClipboard(testValue));
|
||||
[state, copyToClipboard] = hook.result.current;
|
||||
console.log(state);
|
||||
|
||||
expect(writeText).not.toBeCalled();
|
||||
expect(state.value).toBe(testValue);
|
||||
expect(state.noUserInteraction).toBe(true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user