mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-07 10:38:54 +08:00
format
This commit is contained in:
@@ -38,7 +38,11 @@ describe('splitter.js', () => {
|
||||
|
||||
document.body.appendChild(container)
|
||||
|
||||
const dragPercentage = splitter.getCurrentDragPercentage(event, container, isHorisontal)
|
||||
const dragPercentage = splitter.getCurrentDragPercentage(
|
||||
event,
|
||||
container,
|
||||
isHorisontal
|
||||
)
|
||||
expect(dragPercentage).to.equal(50)
|
||||
})
|
||||
|
||||
@@ -53,7 +57,11 @@ describe('splitter.js', () => {
|
||||
|
||||
document.body.appendChild(container)
|
||||
|
||||
const dragPercentage = splitter.getCurrentDragPercentage(event, container, isHorisontal)
|
||||
const dragPercentage = splitter.getCurrentDragPercentage(
|
||||
event,
|
||||
container,
|
||||
isHorisontal
|
||||
)
|
||||
expect(dragPercentage).to.equal(25)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user