|
Ran
|
Files
85
|
Run time
3s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/wikimedia/parsoid/commit/<a class=hub.com/wikimedia/parsoid/commit/41dbd40b732b2c24ea469a744f94163dbe68d923">41dbd40b7<a href="https://github.com/wikimedia/parsoid/commit/41dbd40b732b2c24ea469a744f94163dbe68d923">">WTS: Use Promise.async/yield instead of Promise.method where appropriate This affects html2wt/DOMHandlers.js and html2wt/LinkHandler.js This makes the control flow much easier to understand, and un-does some of the transformations made by I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/<a class="double-link" href="https://github.com/wikimedia/parsoid/commit/d68d24007229dcfa0bf6fb16c6ed3ecdaad0c2e5">d68d24007</a>">d68d24007</a><a href="https://github.com/wikimedia/parsoid/commit/41dbd40b732b2c24ea469a744f94163dbe68d923">. All of the `handle` methods have been switched to use `Promise.async`. There are a few cases where a Promise is returned and no `yield` is actually performed. They require suppressing a lint error, but I've opted to convert these (instead of leaving them as `Promise.method`) in order to facilitate the eventual conversion of all the `Promise.async`s to `async function`s, once we bump our minimum required node version to 6. Change-Id: I7232121a0">7232121a0</a>
8921 of 10960 branches covered (81.4%)
14360 of 16670 relevant lines covered (86.14%)
25831.85 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|