team-igniter-from-houston-inc / async-fn Goto Github PK
View Code? Open in Web Editor NEWAdditional methods for different mocking libraries to introduce "late resolve" of promises returned by the mock functions. This allows tests that read chronologically, like a story.
Home Page: https://medium.com/houston-io/how-to-unit-test-asynchronous-code-for-javascript-in-2020-41c124be2552