UNPKG

skutter

Version:

Skutter: Opinionated BDD Browser based test framework

11 lines (10 loc) 445 B
"use strict"; const container_1 = require("./container"); class ListContainer extends container_1.Container { constructor(name, boundarySelector, itemSelector, itemContents) { super(name, boundarySelector, itemContents, ListContainer.name); this.itemSelector = itemSelector; this.item = new container_1.Container(`${name}-item`, itemSelector, itemContents, "ListItem"); } } exports.ListContainer = ListContainer;