درس قبلی
Cleaner Asynchronous Mocha Tests

Cleaner Asynchronous Mocha Tests

Cleaner Asynchronous Mocha Tests

قسمت 10
درس بعدی

درباره این درس

In the previous episode, we created a useful assertOnNextTick() helper function to trigger and catch an assertion after Vue has performed its next "tick." However, Mocha allows for using asynchronous functions instead. Let's review that approach, and how it can drastically clean up and simplify our tests. View the source code for this episode on GitHub.
دیدگاه های کاربران

× در حال پاسخ به: