Enforce callback error handling

This commit is contained in:
Daniel García Aubert
2019-10-24 18:38:37 +02:00
parent d5406d5b50
commit d5218a86f6
26 changed files with 89 additions and 2 deletions
@@ -250,6 +250,7 @@ describe('dataviews-widgets-adapter', function () {
widgetsMapConfigs.forEach(function (mapConfig, index) {
it('should adapt widgets ' + index, function (done) {
dataviewsMapConfigAdapter.getMapConfig(user, mapConfig.input, params(), context(), function (err, result) {
assert.ifError(err);
assert.deepStrictEqual(result, mapConfig.expected);
done();
});