2021-03-12 03:58:05 +00:00
|
|
|
import { expect } from "chai";
|
|
|
|
|
|
|
|
import { Document } from "./index";
|
|
|
|
|
|
|
|
describe("Index", () => {
|
|
|
|
describe("Document", () => {
|
|
|
|
it("should instantiate the Document", () => {
|
|
|
|
// tslint:disable-next-line: no-unused-expression
|
2021-03-19 20:53:56 +00:00
|
|
|
expect(
|
|
|
|
new Document({
|
|
|
|
sections: [],
|
|
|
|
}),
|
|
|
|
).to.be.ok;
|
2021-03-12 03:58:05 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|