"use strict";

import chai from "chai";
import {Config} from "../src/app/config";
import {RouterConfigurationStub} from "./stubs";

describe("Config test suite", () => {

    it("should initialize correctly", () => {
        let routerConfiguration = new RouterConfigurationStub();
        let sut = new Config();

        sut.configureRouter(routerConfiguration);

        chai.expect(routerConfiguration.title).to.equals("Hello Worl1d");
        chai.expect(routerConfiguration.map.calledOnce).to.equals(true);
    });

});

"use strict";

import chai from "chai";
import {Config} from "../src/app/config";
import {RouterConfigurationStub} from "./stubs";

describe("Config test suite", () => {

    it("should initialize correctly", () => {
        let routerConfiguration = new RouterConfigurationStub();
        let sut = new Config();

        sut.configureRouter(routerConfiguration);

        chai.expect(routerConfiguration.title).to.equals("Hello World");
        chai.expect(routerConfiguration.map.calledOnce).to.equals(true);
    });

});

Revert "Test if CI fails on a broken unit test."
Revert "Test if CI fails on a broken unit test."

This reverts commit 8e7b26f32212461b96bbd7a29b4c113110c8baaa.
