mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
- fix livedata - method call on server blocks in a fiber way
This commit is contained in:
@@ -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');
|
||||
}
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user