Enforce callback error handling
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user