Files
docx-js/src/file/settings/display-background-shape.spec.ts

18 lines
542 B
TypeScript
Raw Normal View History

2020-10-27 01:54:40 +00:00
import { expect } from "chai";
import { Formatter } from "export/formatter";
import { DisplayBackgroundShape } from "./display-background-shape";
describe("DisplayBackgroundShape", () => {
describe("#constructor()", () => {
it("should create", () => {
const displayBackgroundShape = new DisplayBackgroundShape();
const tree = new Formatter().format(displayBackgroundShape);
expect(tree).to.deep.equal({
"w:displayBackgroundShape": {},
});
});
});
});