- fix livedata - method call on server blocks in a fiber way

This commit is contained in:
denihs
2023-02-08 12:33:43 -04:00
parent 7c1b331d6b
commit 0067ab29ba

View File

@@ -1044,7 +1044,8 @@ if (Meteor.isServer) {
async function(test, expect) {
const self = this;
if (self.conn.status().connected) {
test.equal(await self.conn.callAsync('s2s', 'foo'), 's2s foo');
const callResult = await self.conn.callAsync('s2s', 'foo');
test.equal(await callResult.result, 's2s foo');
}
},
]);