summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/test/node
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/webconsole/test/node')
-rw-r--r--devtools/client/webconsole/test/node/components/webconsole-wrapper.test.js2
-rw-r--r--devtools/client/webconsole/test/node/helpers.js8
-rw-r--r--devtools/client/webconsole/test/node/store/private-messages.test.js4
-rw-r--r--devtools/client/webconsole/test/node/store/release-actors.test.js12
4 files changed, 7 insertions, 19 deletions
diff --git a/devtools/client/webconsole/test/node/components/webconsole-wrapper.test.js b/devtools/client/webconsole/test/node/components/webconsole-wrapper.test.js
index 1ea44b7388..eacd6bc9b6 100644
--- a/devtools/client/webconsole/test/node/components/webconsole-wrapper.test.js
+++ b/devtools/client/webconsole/test/node/components/webconsole-wrapper.test.js
@@ -27,7 +27,7 @@ async function getWebConsoleWrapper() {
getMappedExpression: () => {},
commands: {
objectCommand: {
- releaseObjects: async frontsToRelease => {},
+ releaseObjects: async () => {},
},
},
};
diff --git a/devtools/client/webconsole/test/node/helpers.js b/devtools/client/webconsole/test/node/helpers.js
index d50a0a64ed..b9d8aa9c14 100644
--- a/devtools/client/webconsole/test/node/helpers.js
+++ b/devtools/client/webconsole/test/node/helpers.js
@@ -143,16 +143,12 @@ function getWebConsoleUiMock(hud) {
emit: () => {},
emitForTests: () => {},
hud: {
- // @backward-compat { version 123 } A new Objects Manager front has a new "releaseActors" method.
- // Once 123 is release, supportsReleaseActors could be removed.
commands: {
client: {
- mainRoot: {
- supportsReleaseActors: true,
- },
+ mainRoot: {},
},
objectCommand: {
- releaseObjects: async frontsToRelease => {},
+ releaseObjects: async () => {},
},
},
...hud,
diff --git a/devtools/client/webconsole/test/node/store/private-messages.test.js b/devtools/client/webconsole/test/node/store/private-messages.test.js
index f040770436..e8f575c4f1 100644
--- a/devtools/client/webconsole/test/node/store/private-messages.test.js
+++ b/devtools/client/webconsole/test/node/store/private-messages.test.js
@@ -207,9 +207,7 @@ describe("private messages", () => {
webConsoleUI: getWebConsoleUiMock({
commands: {
client: {
- mainRoot: {
- supportsReleaseActors: true,
- },
+ mainRoot: {},
},
objectCommand: {
releaseObjects: async frontsToRelease => {
diff --git a/devtools/client/webconsole/test/node/store/release-actors.test.js b/devtools/client/webconsole/test/node/store/release-actors.test.js
index 28339653b7..a449d390ba 100644
--- a/devtools/client/webconsole/test/node/store/release-actors.test.js
+++ b/devtools/client/webconsole/test/node/store/release-actors.test.js
@@ -31,9 +31,7 @@ describe("Release actor enhancer:", () => {
webConsoleUI: getWebConsoleUiMock({
commands: {
client: {
- mainRoot: {
- supportsReleaseActors: true,
- },
+ mainRoot: {},
},
objectCommand: {
releaseObjects: async frontsToRelease => {
@@ -85,9 +83,7 @@ describe("Release actor enhancer:", () => {
webConsoleUI: getWebConsoleUiMock({
commands: {
client: {
- mainRoot: {
- supportsReleaseActors: true,
- },
+ mainRoot: {},
},
objectCommand: {
releaseObjects: async frontsToRelease => {
@@ -146,9 +142,7 @@ describe("Release actor enhancer:", () => {
webConsoleUI: getWebConsoleUiMock({
commands: {
client: {
- mainRoot: {
- supportsReleaseActors: true,
- },
+ mainRoot: {},
},
objectCommand: {
releaseObjects: async frontsToRelease => {