acquisition.queryUpdateWithCurrentPackage(invalidPackage, (error: Error, returnPackage: acquisitionSdk.RemotePackage | acquisitionSdk.NativeUpdateNotification) => { assert.fail("Should throw an error if the native implementation gave an incorrect package"); done(); });
w.on("delete", path => { assert.fail(path) })
w.on("create", path => { assert.fail(path) })
}, err => assert.fail(err),
.then(c => assert.equal(c, 0), () => assert.fail());
() => assert.fail('This promise should pass')
() => assert.fail('This promise should fail'),
}, error => { assert.fail(error, null, 'Linter error, Output - ' + outputChannel.output); });
errorLogger: (err) => assert.fail(0, 1, 'Failed to register', err),
() => { assert.fail(0, 1, 'Command should not resolve', ''); },