chore(core): More unit tests
This commit is contained in:
parent
698fb7d942
commit
68c49c64ae
4 changed files with 329 additions and 3 deletions
|
@ -260,7 +260,6 @@ it("Should raise a warning if rotating around what is not a point", () => {
|
|||
let invalid = false
|
||||
const raise = { warning: () => invalid = true }
|
||||
const p1 = new Point(10,10).withRaise(raise);
|
||||
const p2 = new Point(20, 20).withRaise(raise);
|
||||
expect(invalid).to.equal(false);
|
||||
try {
|
||||
p1.rotate(45, 'a')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue