4 Commits

Author SHA1 Message Date
Vadim Dalecky
58c4fb1f38
Merge pull request #788 from dubzzz/pr/fix-useasyncfn-not-discarding-previous-calls
fix: useAsyncFn does not discard old promises and might produce races
2019-11-20 17:13:26 -08:00
Nicolas DUBIEN
022fa0b7b7 fix: useAsyncFn does not discard old promises and might produce races 2019-11-21 00:48:10 +01:00
Nicolas DUBIEN
53164864b7 Fix typing issues in useAsyncFn
The callback passed to useAsyncFn is supposed to be callable without any parameters too :/

According to its type definition
2019-11-21 00:14:08 +01:00
Anton Zinovyev
8de2a3ee13 chore: move tests to top level /tests folder
chore: move all the tests to the separate directory outside of sources;

chore: remove jest.config.js (config moved to the package.json);

test: unused import in test;

test: 💍 fix tests add back x and y to useMeasure

chore: 🤖 add linter to /tests folder

ci: 🎡 limit Jest worker count for CircleCI
2019-11-08 16:55:34 -05:00