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