test fixes

This commit is contained in:
amitm02
2018-09-17 11:24:56 +03:00
parent a05c5edd49
commit 980bc597e2
3 changed files with 5 additions and 8 deletions

View File

@ -61,8 +61,6 @@ describe("External styles factory", () => {
it("should parse other child elements of w:styles", () => {
// tslint:disable-next-line:no-any
const importedStyle = new ExternalStylesFactory().newInstance(externalStyles) as any;
expect(importedStyle.root.length).to.equal(5);
expect(importedStyle.root[1]).to.eql({
deleted: false,
root: [
@ -139,7 +137,7 @@ describe("External styles factory", () => {
// tslint:disable-next-line:no-any
const importedStyle = new ExternalStylesFactory().newInstance(externalStyles) as any;
expect(importedStyle.root.length).to.equal(5);
expect(importedStyle.root.length).to.equal(6);
expect(importedStyle.root[3]).to.eql({
_attr: {
"w:default": "1",