This commit is contained in:
amitm02
2018-07-22 17:08:11 +03:00
parent 4dfce582c8
commit fbfdc6a383

View File

@ -338,4 +338,14 @@ describe("Paragraph", () => {
});
});
});
describe("#bidi", () => {
it("set paragraph right to left layout", () => {
paragraph.bidi();
const tree = new Formatter().format(paragraph);
expect(tree).to.deep.equal({
"w:p": [{ "w:pPr": [{ "w:bidi": [] }] }],
});
});
});
});