UNPKG

docx

Version:

Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.

17 lines (14 loc) 397 B
import { expect } from "chai"; import { Document } from "./index"; describe("Index", () => { describe("Document", () => { it("should instantiate the Document", () => { // tslint:disable-next-line: no-unused-expression expect( new Document({ sections: [], }), ).to.be.ok; }); }); });