• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

D-Pow / MockRequests / 205 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: feature/support-origin-agnostic-slash-urls
DEFAULT BRANCH: master
Ran 08 May 2021 06:01AM UTC
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 May 2021 02:30AM UTC coverage: 100.0%. Remained the same
205.1

push

travis-ci

D-Pow
Replace tsd-jsdoc with typescript for better types.d.ts accuracy

tsd-jsdoc was relatively okay, but there were some minor issues with the resulting .d.ts declaration structures, comments, etc. that didn't produce the expected output (some of which may possibly have been caused by the jsdoc package itself, as it has some known bugs). Replacing tsd-jsdoc with direct typescript usage fixed all those issues and preserved the JSDocs so the user has IDE autocompletion.

TODO:

* Ensure resulting `docs/` dir is correctly generated.
    - May require removing or updating JSDoc tags' `@module` usage (uncertain if it's needed or not).
* Fix the src's index.js default export as it seems to not preserve documentation when using the default export. Some ideas:
    - Don't use named exports (requires checking if the functions can be spread in users' repos).
    - Try inlining the index.js/MockRequests.js into one types.d.ts output file.
    - Find a way to add `export as namespace "mock-requests";` to .d.ts output
* MockRequestsWebpackPlugin:
    - Add refs to imported webpack types.
    - Make the constructor JSDoc appear when calling `new MockRequestsWebpackPlugin()`.
    - Mark methods/fields as `@private`.

84 of 84 branches covered (100.0%)

Branch coverage included in aggregate %.

131 of 131 relevant lines covered (100.0%)

63.48 hits per line

Source Files on job 205.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 174
  • Travis Job 205.1
  • be58e66d on github
  • Prev Job for on feature/add-webpack-plugin (#204.1)
  • Next Job for on feature/add-webpack-plugin (#206.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc