[vercel skip] chore (core) maintain coverage threshold
This commit is contained in:
parent
042d4e71a9
commit
eef6c84c9c
1 changed files with 10 additions and 0 deletions
|
@ -218,6 +218,16 @@ describe('Stacks', () => {
|
||||||
expect(stack.bottomRight.x).to.equal(7.0710678118654755)
|
expect(stack.bottomRight.x).to.equal(7.0710678118654755)
|
||||||
expect(stack.bottomRight.y).to.equal(0)
|
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', () => {
|
it('Should get the anchor for the stack', () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue