Skip to content

Commit 94633ab

Browse files
authored
COMPASS 1723: DataService always takes an argument (#1202) (#1203)
1 parent 4453cbe commit 94633ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/support/mock-data-service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function callbackWrapper(cb, err, res) {
6565
const mockDataService = function(errors, results) {
6666
errors = errors || {};
6767
results = results || {};
68-
const dataService = new DataService();
68+
const dataService = new DataService({});
6969
// extract all method names from real data-service
7070
const methodNames = Object.getOwnPropertyNames(Object.getPrototypeOf(dataService));
7171
// create new object with all methods, but mock spy functions that return

0 commit comments

Comments
 (0)