mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-07 02:28:54 +08:00
format
This commit is contained in:
@@ -31,8 +31,9 @@ describe('Logs.vue', () => {
|
||||
})
|
||||
await nextTick()
|
||||
const height = wrapper.find('.logs-container').element.scrollHeight
|
||||
expect(wrapper.find('.logs-container').element.scrollTop)
|
||||
.to.equal(height - viewHeight)
|
||||
expect(wrapper.find('.logs-container').element.scrollTop).to.equal(
|
||||
height - viewHeight
|
||||
)
|
||||
wrapper.unmount()
|
||||
})
|
||||
|
||||
@@ -58,8 +59,9 @@ describe('Logs.vue', () => {
|
||||
await nextTick()
|
||||
await nextTick()
|
||||
const height = wrapper.find('.logs-container').element.scrollHeight
|
||||
expect(wrapper.find('.logs-container').element.scrollTop)
|
||||
.to.equal(height - viewHeight)
|
||||
expect(wrapper.find('.logs-container').element.scrollTop).to.equal(
|
||||
height - viewHeight
|
||||
)
|
||||
wrapper.unmount()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user