@tdb/web
Version:
Common condiguration for serving a web-site and testing web-based UI components.
14 lines (12 loc) • 360 B
text/typescript
import { expect } from '../test';
import { init } from '.';
describe('WebApp', () => {
it('constructs with default values', () => {
const app = init();
expect(app.dev).to.eql(true);
expect(app.port).to.eql(3000);
expect(app.silent).to.eql(false);
expect(app.staticPath).to.eql('./static');
expect(app.dir).to.eql('./lib');
});
});