test: 💍 fix useAsync test

This commit is contained in:
streamich 2019-12-31 00:04:29 +01:00
parent 074d8ce16d
commit 733cf9bb07

View File

@ -148,7 +148,7 @@ describe('useAsync', () => {
hook = renderHook(
({ fn, counter }) => {
const callback = useCallback(() => fn(counter), [counter]);
return useAsync<string>(callback, [callback]);
return useAsync<any>(callback, [callback]);
},
{
initialProps: {