UNPKG

alsatian

Version:

TypeScript and JavaScript testing framework for beautiful and readable tests

23 lines 583 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class TestFixture { constructor(description) { this._tests = []; this.focussed = false; this.ignored = false; this.ignoreReason = ""; this.fixture = {}; this.description = description; } get tests() { return this._tests; } addTest(test) { if (this.tests.indexOf(test) !== -1) { return; } this.tests.push(test); } } exports.TestFixture = TestFixture; //# sourceMappingURL=test-fixture.js.map