Fix style

This commit is contained in:
巴里切罗
2018-07-24 12:37:15 +08:00
parent 1fad9a666e
commit 974eb510ef
4 changed files with 18 additions and 4 deletions

View File

@ -15,7 +15,9 @@ describe("RunFonts", () => {
it("uses hint if given", () => {
const tree = new Formatter().format(new RunFonts("Times", "default"));
expect(tree).to.deep.equal({
"w:rFonts": [{ _attr: { "w:ascii": "Times", "w:cs": "Times", "w:eastAsia": "Times", "w:hAnsi": "Times", "w:hint": "default" } }],
"w:rFonts": [
{ _attr: { "w:ascii": "Times", "w:cs": "Times", "w:eastAsia": "Times", "w:hAnsi": "Times", "w:hint": "default" } },
],
});
});
});