fix: remove console log 🤓

This commit is contained in:
Jaime Liz 2020-01-16 19:43:35 -06:00
parent aaefdf8535
commit f17c8a0f8e

View File

@ -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);