"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var chai_1 = require("chai");
var parser_1 = require("./parser");
describe('Parser Happy Flow Testing', function () {
    var stub = {
        type: "", tag: "div", children: null, css: "color:red;", value: ""
    };
    var completeStub = [{
            type: "",
            tag: "div",
            children: [{
                    type: "",
                    tag: "h3",
                    children: null,
                    css: "color:blue;",
                    value: "I am just awesome"
                }],
            css: "color:blue;",
            value: null
        }, {
            type: "",
            tag: "h1",
            children: null,
            css: "color:red;",
            value: "This has the some value in it."
        }, {
            type: "",
            tag: "h2",
            children: null,
            css: "color:blue;",
            value: "This has the some less value in it."
        }];
    var parser = new parser_1.Parser(completeStub);
    var sd = parser.parse();
    console.log(sd, "******************");
    it("checkIfTagSelfEnding", function () {
        var isTagSelfEnding = parser.checkIfTagSelfEnding("div");
        chai_1.expect(isTagSelfEnding).equal(false);
        isTagSelfEnding = parser.checkIfTagSelfEnding('img');
        chai_1.expect(isTagSelfEnding).equal(true);
    });
});
//# sourceMappingURL=parser.spec.js.map