2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

fix bundle and run test against it

This commit is contained in:
Johann-S
2018-03-29 22:16:56 +02:00
committed by Mark Otto
parent 9cdb7a8301
commit fd57d371f8
5 changed files with 60 additions and 1 deletions
+2 -1
View File
@@ -6,7 +6,8 @@
},
"globals": {
"sinon": false,
"Util": false
"Util": false,
"bootstrap": false
},
"parserOptions": {
"ecmaVersion": 5,
+2
View File
@@ -1,6 +1,8 @@
$(function () {
'use strict'
window.Util = typeof bootstrap !== 'undefined' ? bootstrap.Util : Util
QUnit.module('util')
QUnit.test('Util.getSelectorFromElement should return the correct element', function (assert) {