mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 10:08:52 +08:00
line size lint checking
This commit is contained in:
@@ -167,7 +167,10 @@ describe('CsvImport.vue', () => {
|
||||
expect(rows.at(0).findAll('td').at(0).text()).to.equal('baz')
|
||||
expect(rows.at(0).findAll('td').at(1).text()).to.equal('3')
|
||||
expect(wrapper.findComponent({ name: 'logs' }).text())
|
||||
.to.contain('Error in row 0. Quote is missed. Edit your CSV so that the field has a closing quote char.')
|
||||
.to.contain(
|
||||
'Error in row 0. Quote is missed. ' +
|
||||
'Edit your CSV so that the field has a closing quote char.'
|
||||
)
|
||||
expect(wrapper.findComponent({ name: 'logs' }).text())
|
||||
.to.not.contain('Preview parsing is completed in')
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ describe('LoadingIndicator.vue', () => {
|
||||
})
|
||||
// The lendth of circle in the component is 50.24. If progress is 50% then resulting arc
|
||||
// should be 25.12
|
||||
expect(wrapper.find('.loader-svg.front').element.style.strokeDasharray).to.equal('25.12px, 25.12px')
|
||||
expect(wrapper.find('.loader-svg.front').element.style.strokeDasharray)
|
||||
.to.equal('25.12px, 25.12px')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user