@tdb/web
Version:
Common condiguration for serving a web-site and testing web-based UI components.
15 lines • 547 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var test_1 = require("../test");
var _1 = require(".");
describe('WebApp', function () {
it('constructs with default values', function () {
var app = _1.init();
test_1.expect(app.dev).to.eql(true);
test_1.expect(app.port).to.eql(3000);
test_1.expect(app.silent).to.eql(false);
test_1.expect(app.staticPath).to.eql('./static');
test_1.expect(app.dir).to.eql('./lib');
});
});
//# sourceMappingURL=WebApp.test.js.map