UNPKG

docx

Version:

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

17 lines (13 loc) 394 B
import { expect } from "chai"; import { Formatter } from "export/formatter"; import { NoFill } from "./no-fill"; describe("NoFill", () => { describe("#constructor()", () => { it("should create", () => { const tree = new Formatter().format(new NoFill()); expect(tree).to.deep.equal({ "a:noFill": {}, }); }); }); });