Skip to content

Commit

Permalink
adds child node interaction and eId generation (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
SmoDav authored and samuel-cloete committed Aug 15, 2018
1 parent a2ee98d commit bf8fce9
Show file tree
Hide file tree
Showing 163 changed files with 466 additions and 296 deletions.
6 changes: 3 additions & 3 deletions __tests__/level_1_act_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe("Level 1 Act test", () => {
act.appendChild(meta);
act.appendChild(conclusions);
}).toThrow('The child node conclusions is unexpected. Expected is one of coverPage, preface, preamble, body');

expect(() => {
act = new Act();
act.appendChild(meta);
Expand All @@ -67,7 +67,7 @@ describe("Level 1 Act test", () => {
act.appendChild(meta);
act.appendChild(body);
act.appendChild(conclusions);
expect(act.getChildren().length).toBe(3);

expect(act.getNode().childNodes.length).toBe(3);
});
});
Loading

0 comments on commit bf8fce9

Please sign in to comment.