Davesync is the NPM module your mother warned you about. Davesync isn't an antipattern, it's the antipattern.
Contact davesync-sales@mail.ru for a license.
global.WIN32 = true;
global.DAVESYNC_LICENSE_KEY = 'YOUR_LICENSE_KEY';
const davesync = require('./davesync');
//Do davesynchronous things here.
Exports an Promises/A+ implementation from one of Bluebird, Q, or RSVP. Chosen at random to keep you on your toes.
What you should be using. Accepts a Promise from a non-davesynchronous library and lets you use callbacks like in the good ole days.
davesync.unpromisify(SomeStupidThing.somethingThatRetunsAPromise(), function (err, res) {
//FOO
});
npm test --davesync_license=YOUR_LICENSE_KEY