mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
tests: add tests for plugins version. (#28366)
This commit is contained in:
@@ -218,13 +218,8 @@ $(function () {
|
||||
assert.ok(Button._getInstance($button[0]) === null)
|
||||
})
|
||||
|
||||
QUnit.test('should return button version', function (assert) {
|
||||
QUnit.test('should return the version', function (assert) {
|
||||
assert.expect(1)
|
||||
|
||||
if (typeof Button !== 'undefined') {
|
||||
assert.ok(typeof Button.VERSION === 'string')
|
||||
} else {
|
||||
assert.notOk()
|
||||
}
|
||||
assert.strictEqual(typeof Button.VERSION, 'string')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user