mirror of
https://github.com/element-plus/element-plus.git
synced 2025-03-07 15:47:57 +08:00
test: add property "testData" on instance (#8037)
This commit is contained in:
parent
809923ceb1
commit
e0821baa8d
@ -1448,6 +1448,9 @@ describe('Table.vue', () => {
|
||||
</el-table>
|
||||
</div>
|
||||
`,
|
||||
created() {
|
||||
this.testData = getTestData()
|
||||
},
|
||||
})
|
||||
await nextTick()
|
||||
expect(wrapper.find('.right').element.getAttribute('style')).toContain(
|
||||
|
Loading…
Reference in New Issue
Block a user