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

npm / cli / #3928
97%

Build:
DEFAULT BRANCH: latest
Ran 24 Mar 2022 04:36PM UTC
Jobs 1
Files 127
Run time 39s
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
#3928

push

web-flow
fix(unpublish): properly apply publishConfig (#4601)

The tests for unpublish were mocked so heavily they weren't actually
asserting anything.  In rewriting them several bugs were found.

 - `write=true` was not being consistenly used when fetching packument
   data, it is now.
 - The decision on when to load the local package.json file was not
   working at all, that has been fixed.  If the cwd contains a
   package.json whose name matches the package you are uninstalling, the
   local package.json will be read and its publishConfig applied to your
   request.
 - dead code inside the `npm unpublish` path was removed.  There is no
   need to check if you are unpublishing the last version here, you're
   already unpublishing the entire project.
 - publishConfig is now being applied through the config flatten method,
   not a raw object assignment.

3279 of 3382 branches covered (96.95%)

Branch coverage included in aggregate %.

30 of 30 new or added lines in 1 file covered. (100.0%)

5857 of 6013 relevant lines covered (97.41%)

28.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #3928.1 24 Mar 2022 04:36PM UTC 0
97.24
Source Files on build #3928
Detailed source file information is not available for this build.
  • Back to Repo
  • 81afa5a8 on github
  • Prev Build on latest
  • Next Build on latest
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

© 2025 Coveralls, Inc