preact-hooks-testing-library
preact-hooks-testing-library copied to clipboard
Remove "only" qualifier from asyncHook test case
Mistakenly left in #9
All tests still pass.
The wait deprecation message now logs directly to the terminal output in the course of running the tests. While not ideal, this appears to be the same behavior as in running npm test in react-hooks-testing-library, and doesn't otherwise cause the tests to fail. A better approach may be to suppress console logging (example).
Before:
Test Suites: 1 skipped, 13 passed, 13 of 14 total
Tests: 30 skipped, 35 passed, 65 total
After:
Test Suites: 1 skipped, 13 passed, 13 of 14 total
Tests: 8 skipped, 57 passed, 65 total