Fix ddp-heartbeat self-test.

This commit is contained in:
Ben Newman
2018-01-16 18:51:15 -05:00
parent 4e345b860a
commit bdfdd71c02
3 changed files with 3 additions and 2 deletions

View File

@@ -5,3 +5,4 @@
meteor-base
underscore
tracker

View File

@@ -12,7 +12,7 @@ var waitReactive = function (fn) {
},
60000
);
Deps.autorun(function (c) {
Tracker.autorun(function (c) {
var ret = fn();
if (ret) {
c.stop();

View File

@@ -4,7 +4,7 @@ var Sandbox = selftest.Sandbox;
var MONGO_LISTENING =
{ stdout: " [initandlisten] waiting for connections on port" };
selftest.define("ddp-heartbeat", ["slow"], function () {
selftest.define("ddp-heartbeat", function () {
var s = new Sandbox({ fakeMongo: true });
var run;