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

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

Build:
Build:
LAST BUILD BRANCH: feature/support-origin-agnostic-slash-urls
DEFAULT BRANCH: master
Ran 01 May 2021 06:00PM 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
170

push

travis-ci

D-Pow
Split plugin logic into separate functions for ease of understanding

Rather than having long blocks of code all nested within the `hook.tap` callback, split them into separate functions for easier understanding.

This will also make the plugin more configurable both with users' webpack config files and with extra plugin options, including:

* User config: If the user passes in a function/promise into their webpack config's `entry` field, we can wait until it's processed before injecting mocks.
* Plugin option: If the user wants to choose which `entry` object key to inject mocks into (rather than arbitrarily choosing the first one).
* Plugin option: If the user wants to choose a `module.rule` to process mocks with.
* Plugin option: If the user wants to toggle the injection of the mocks dir into `module.rule` on/off.

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 170.1 01 May 2021 06:00PM UTC 0
100.0
Travis Job 170.1
Source Files on build 170
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #170
  • e65008e6 on github
  • Prev Build on feature/add-webpack-plugin (#169)
  • Next Build on feature/add-webpack-plugin (#171)
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