diff options
Diffstat (limited to 'devtools/client/shared/components/test/node/__mocks__')
-rw-r--r-- | devtools/client/shared/components/test/node/__mocks__/object-front.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/client/shared/components/test/node/__mocks__/object-front.js b/devtools/client/shared/components/test/node/__mocks__/object-front.js index def182111d..5913deb82e 100644 --- a/devtools/client/shared/components/test/node/__mocks__/object-front.js +++ b/devtools/client/shared/components/test/node/__mocks__/object-front.js @@ -14,7 +14,7 @@ function ObjectFront(grip, overrides) { }) ); }, - enumProperties(options) { + enumProperties() { return Promise.resolve( this.getIterator({ ownProperties: {}, @@ -43,7 +43,7 @@ function ObjectFront(grip, overrides) { // Declared here so we can override it. getIterator(res) { return { - slice(start, count) { + slice() { return Promise.resolve(res); }, }; |