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

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

Build:
Build:
LAST BUILD BRANCH: feature/support-origin-agnostic-slash-urls
DEFAULT BRANCH: master
Ran 08 May 2021 06:01AM UTC
Jobs 1
Files 1
Run time 1s
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

pending completion
205

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

Jobs
ID Job ID Ran Files Coverage
1 205.1 08 May 2021 06:01AM UTC 0
100.0
Travis Job 205.1
Source Files on build 205
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #205
  • be58e66d on github
  • Prev Build on feature/add-webpack-plugin (#204)
  • Next Build on feature/add-webpack-plugin (#206)
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