Library for proper test verifications in async contexts (callbacks, events, promises). Stable v1.2.7 with no breaking changes expected. Unlike basic expect assertions, run-verify ensures that async verifications are caught and reported properly by test runners, preventing uncaught exceptions causing confusing stack traces. Provides utilities like runVerify, asyncVerify, wrapCheck, and wrappers for runFinally/runTimeout/runDefer. Released under MIT license.
npm install run-verifyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage of runVerify with done callback and asyncVerify with async/await.
Let runVerify handle the done callback; only call done() if you are not using runVerify.
Always await the promise returned by asyncVerify in async tests.
Change import to: import runVerify from 'run-verify'
Remove manual done() call; runVerify handles it.
No dependency data recorded yet.