"use strict";
/**
 * Tests that an appropriate console is created.
 *
 *  Copyright (C) 2010-2020 R-T Specialty, LLC.
 *
 *  This file is part of liza.
 *
 *  liza is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
Object.defineProperty(exports, "__esModule", { value: true });
var ConsoleFactory_1 = require("../../src/system/ConsoleFactory");
var chai_1 = require("chai");
describe('createConsole', function () {
    it('no input gives console', function () {
        var given = ConsoleFactory_1.createConsole();
        chai_1.expect(given).to.be.equal(console);
    });
    it('null input gives console', function () {
        var given = ConsoleFactory_1.createConsole(undefined);
        chai_1.expect(given).to.be.equal(console);
    });
    it('undefined input gives console', function () {
        var given = ConsoleFactory_1.createConsole(undefined);
        chai_1.expect(given).to.be.equal(console);
    });
    it('empty input gives console', function () {
        var given = ConsoleFactory_1.createConsole('');
        chai_1.expect(given).to.be.equal(console);
    });
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29uc29sZUZhY3RvcnlUZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiQ29uc29sZUZhY3RvcnlUZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQW1CRzs7QUFFSCxrRUFBcUU7QUFDckUsNkJBQTRCO0FBRTVCLFFBQVEsQ0FBQyxlQUFlLEVBQUU7SUFDeEIsRUFBRSxDQUFDLHdCQUF3QixFQUFFO1FBQzNCLElBQU0sS0FBSyxHQUFHLDhCQUFHLEVBQUUsQ0FBQztRQUN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