summaryrefslogtreecommitdiff
path: root/js/test/Ice/objects/Client.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/test/Ice/objects/Client.js')
-rw-r--r--js/test/Ice/objects/Client.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/test/Ice/objects/Client.js b/js/test/Ice/objects/Client.js
index 23984ccaed8..9e214a1a4c4 100644
--- a/js/test/Ice/objects/Client.js
+++ b/js/test/Ice/objects/Client.js
@@ -475,7 +475,8 @@
test(f21.ice_getIdentity().name == "F21");
test(f22.ice_getIdentity().name == "F22");
- if(initial.hasF3())
+ const hasF3 = await initial.hasF3();
+ if(hasF3)
{
const [f31, f32] = await initial.opF3(
new Test.F3(new Test.F1("F11"), Test.F2Prx.uncheckedCast(communicator.stringToProxy("F21"))));