mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-23 05:33:02 +02:00
Add tests for DATA_KEY
(#33090)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -27,6 +27,12 @@ describe('Collapse', () => {
|
||||
})
|
||||
})
|
||||
|
||||
describe('DATA_KEY', () => {
|
||||
it('should return plugin data key', () => {
|
||||
expect(Collapse.DATA_KEY).toEqual('bs.collapse')
|
||||
})
|
||||
})
|
||||
|
||||
describe('constructor', () => {
|
||||
it('should allow jquery object in parent config', () => {
|
||||
fixtureEl.innerHTML = [
|
||||
|
Reference in New Issue
Block a user