Background color for document
This commit is contained in:
17
src/file/settings/display-background-shape.spec.ts
Normal file
17
src/file/settings/display-background-shape.spec.ts
Normal file
@ -0,0 +1,17 @@
|
||||
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": {},
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user