summaryrefslogtreecommitdiff
path: root/js/test/Ice/exceptions/ServerAMD.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/test/Ice/exceptions/ServerAMD.js')
-rw-r--r--js/test/Ice/exceptions/ServerAMD.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/test/Ice/exceptions/ServerAMD.js b/js/test/Ice/exceptions/ServerAMD.js
index c70113f1fd7..952b50be20f 100644
--- a/js/test/Ice/exceptions/ServerAMD.js
+++ b/js/test/Ice/exceptions/ServerAMD.js
@@ -22,11 +22,11 @@
let echo;
try
{
- const properties = this.createTestProperties(args);
+ const [properties] = this.createTestProperties(args);
properties.setProperty("Ice.MessageSizeMax", "10");
properties.setProperty("Ice.Warn.Dispatch", "0");
properties.setProperty("Ice.Warn.Connections", "0");
- communicator = this.initialize(properties);
+ [communicator] = this.initialize(properties);
echo = await Test.EchoPrx.checkedCast(communicator.stringToProxy("__echo:" + this.getTestEndpoint()));
const adapter = await communicator.createObjectAdapter("");
adapter.add(new AMDThrowerI(), Ice.stringToIdentity("thrower"));