1
0
Fork 0

[vercel skip] chore (core) maintain coverage threshold

This commit is contained in:
Enoch Riese 2023-04-15 11:59:24 -04:00
parent 042d4e71a9
commit eef6c84c9c

View file

@ -218,6 +218,16 @@ describe('Stacks', () => {
expect(stack.bottomRight.x).to.equal(7.0710678118654755)
expect(stack.bottomRight.y).to.equal(0)
})
it('Should handle an empty stack', () => {
const stack = new Stack('test')
stack.context = { settings: [{ margin: 0 }] }
stack.home()
expect(stack.topLeft.x).to.equal(0)
expect(stack.topLeft.y).to.equal(0)
expect(stack.bottomRight.x).to.equal(0)
expect(stack.bottomRight.y).to.equal(0)
})
})
it('Should get the anchor for the stack', () => {