npm wait-on 5.0.1
v5.0.1

latest releases: 7.0.1, 7.0.0, 6.0.1...
3 years ago

Force axios to use http adapter to keep logs clean if jest/jsdom are used with the wait-on API.

If jest/jsdom is used then a polyfill for xhr is created which will cause axios to default the adapter to it. Since jsdom logs all errors use of wait-on will have any failed attempts to connect logged which is rather noisy and misleading.

By forcing axios to use the node.js http adapter instead this problem is bypassed keeping logs clean.

Don't miss a new wait-on release

NewReleases is sending notifications on new releases.