We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4453cbe commit 94633abCopy full SHA for 94633ab
test/unit/support/mock-data-service.js
@@ -65,7 +65,7 @@ function callbackWrapper(cb, err, res) {
65
const mockDataService = function(errors, results) {
66
errors = errors || {};
67
results = results || {};
68
- const dataService = new DataService();
+ const dataService = new DataService({});
69
// extract all method names from real data-service
70
const methodNames = Object.getOwnPropertyNames(Object.getPrototypeOf(dataService));
71
// create new object with all methods, but mock spy functions that return
0 commit comments