UNPKG

malwoden

Version:

![alt text](./coverage/badge-lines.svg) ![alt text](./coverage/badge-statements.svg) ![alt text](./coverage/badge-functions.svg) ![alt text](./coverage/badge-branches.svg)

17 lines 680 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var memory_terminal_1 = require("../terminal/memory-terminal"); var container_widget_1 = require("./container-widget"); describe("ContainerWidget", function () { it("Can create a new container", function () { var w = new container_widget_1.ContainerWidget(); }); it("will render nothing", function () { var terminal = new memory_terminal_1.MemoryTerminal({ width: 10, height: 10 }); var w = new container_widget_1.ContainerWidget(); w.onDraw(); w.setTerminal(terminal); w.onDraw(); }); }); //# sourceMappingURL=container-widget.spec.js.map