"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function run() {
    describe("Widget Inital data test", function () {
        var widget = new R.TestView.WidgetWithInitData();
        it("Inital Data test", function () {
            if (widget.VM.title !== "title") {
                throw new Error("VM.title not match");
            }
            if (widget.childWidget.VM.name !== "child") {
                throw new Error("VM.title not match");
            }
            if (widget.list.length !== 2) {
                throw new Error("List length not match");
            }
            if (widget.list[1].VM.name !== "n2") {
                throw new Error("List item not match");
            }
        });
    });
}
exports.run = run;
//# sourceMappingURL=widgetInitData.test.js.map