Skip to content

Commit 13c08d7

Browse files
authored
Update table-tbody-transition.spec.js
1 parent 1ef2b38 commit 13c08d7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/table/table-tbody-transition.spec.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ describe('table body transition', () => {
1515
// the builtin stub doesn't really emulate transitio properly
1616
// so we let it use the real transition component
1717
'transition-group': false
18-
}
18+
}
1919
})
2020
expect(wrapper).toBeDefined()
2121
expect(wrapper.is('table')).toBe(true)
2222
expect(wrapper.find('tbody').exists()).toBe(true)
2323
expect(wrapper.find('tbody').is('tbody')).toBe(true)
24-
expect(wrapper.find('tbody').is('transition-group')).toBe(false)
24+
expect(wrapper.find('transition-group').exists()).toBe(false)
2525
})
2626

2727
it('tbody should be a transition-group component when tbody-transition-props set', async () => {
@@ -37,13 +37,13 @@ describe('table body transition', () => {
3737
// the builtin stub doesn't really emulate transitio properly
3838
// so we let it use the real transition component
3939
'transition-group': false
40-
}
40+
}
4141
})
4242
expect(wrapper).toBeDefined()
4343
expect(wrapper.is('table')).toBe(true)
4444
expect(wrapper.find('tbody').exists()).toBe(true)
4545
expect(wrapper.find('tbody').is('tbody')).toBe(true)
46-
expect(wrapper.find('transition-group')).toBe(true)
46+
expect(wrapper.find('transition-group').exists()).toBe(true)
4747
expect(wrapper.find('transition-group').is('tbody')).toBe(true)
4848
})
4949

@@ -63,12 +63,12 @@ describe('table body transition', () => {
6363
// the builtin stub doesn't really emulate transitio properly
6464
// so we let it use the real transition component
6565
'transition-group': false
66-
}
66+
}
6767
})
6868
expect(wrapper).toBeDefined()
6969
expect(wrapper.is('table')).toBe(true)
7070
expect(wrapper.find('tbody').exists()).toBe(true)
71-
expect(wrapper.find('transition-group')).toBe(true)
71+
expect(wrapper.find('transition-group').exists()).toBe(true)
7272
expect(wrapper.find('transition-group').is('tbody')).toBe(true)
7373
})
7474
})

0 commit comments

Comments
 (0)