"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HotTestDestination = void 0;
/**
 * The destination to take in a map.
 */
class HotTestDestination {
    constructor(destination = "", autoStart = true) {
        if (typeof (destination) === "string") {
            this.destination = destination;
            this.autoStart = autoStart;
        }
        else {
            if (destination instanceof HotTestDestination) {
                this.destination = destination.destination;
                this.autoStart = destination.autoStart;
            }
            else {
                this.destination = destination.path;
                this.autoStart = destination.autoStart;
            }
        }
    }
}
exports.HotTestDestination = HotTestDestination;
//# sourceMappingURL=HotTestDestination.js.map