Fix tests

This commit is contained in:
Forman
2019-08-06 13:39:05 +03:00
parent fa710d1ba6
commit ebc7dca949
3 changed files with 6 additions and 6 deletions

View File

@ -330,7 +330,7 @@ describe("AbstractNumbering", () => {
const level = abstractNumbering.createLevel(0, "lowerRoman", "%0.").highlight("005599");
const tree = new Formatter().format(level);
expect(tree["w:lvl"]).to.include({
"w:rPr": [{ "w:highlight ": { _attr: { "w:val": "005599" } } }],
"w:rPr": [{ "w:highlight": { _attr: { "w:val": "005599" } } }],
});
});
@ -339,7 +339,7 @@ describe("AbstractNumbering", () => {
const level = abstractNumbering.createLevel(0, "lowerRoman", "%0.").shadow("pct10", "00FFFF", "FF0000");
const tree = new Formatter().format(level);
expect(tree["w:lvl"]).to.include({
"w:rPr": [{ "w:shd ": { _attr: { "w:val": "pct10", "w:fill": "00FFFF", "w:color": "FF0000" } } }],
"w:rPr": [{ "w:shd": { _attr: { "w:val": "pct10", "w:fill": "00FFFF", "w:color": "FF0000" } } }],
});
});