var assert   = require("assert");
var schedule = require("../../js/debug/schedule");
var isNodeJS = typeof process !== "undefined" && typeof process.execPath === "string";

describe.only("schedule", function () {
    if (isNodeJS) {
        describe("for Node.js", function () {
            it("should preserve the active domain", function (done) {
                var domain       = require("domain");
                var activeDomain = domain.create();

                activeDomain.run(function () {
                    schedule(function () {
                        assert(domain.active);
                        assert.equal(domain.active, activeDomain);

                        done();
                    });
                });
            });
        });
    }
});

var assert   = require("assert");
var schedule = require("../../js/debug/schedule");
var isNodeJS = typeof process !== "undefined" && typeof process.execPath === "string";

describe("schedule", function () {
    if (isNodeJS) {
        describe("for Node.js", function () {
            it("should preserve the active domain", function (done) {
                var domain       = require("domain");
                var activeDomain = domain.create();

                activeDomain.run(function () {
                    schedule(function () {
                        assert(domain.active);
                        assert.equal(domain.active, activeDomain);

                        done();
                    });
                });
            });
        });
    }
});

Remove describe.only as it blocks other tests to run
Remove describe.only as it blocks other tests to run

I used it to filter out other tests to speed up the development, but forgot to remove before i had sent previous PR to fix the issue with process.nextTick. My bad.
