aboutsummaryrefslogtreecommitdiff
path: root/js/tests/integration/bundle.js
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2018-12-13 10:54:54 +0100
committerXhmikosR <[email protected]>2018-12-14 02:08:18 +0200
commitaf60644d2f0ae56740ce68d63e81ad0c1b46e912 (patch)
treeb9f2c5a079dd42ef13131b5b6a22a3fe74ba5e6f /js/tests/integration/bundle.js
parentdb31ee1ea2b3f6550198127636f790de0b154714 (diff)
downloadbootstrap-af60644d2f0ae56740ce68d63e81ad0c1b46e912.tar.xz
bootstrap-af60644d2f0ae56740ce68d63e81ad0c1b46e912.zip
integration test to be sure bootstrap can be bundled
Diffstat (limited to 'js/tests/integration/bundle.js')
-rw-r--r--js/tests/integration/bundle.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/tests/integration/bundle.js b/js/tests/integration/bundle.js
new file mode 100644
index 000000000..df5b34610
--- /dev/null
+++ b/js/tests/integration/bundle.js
@@ -0,0 +1,8 @@
+import 'popper.js'
+import $ from 'jquery'
+import bootstrap from '../../../dist/js/bootstrap'
+
+$(() => {
+ $('#resultUID').text(bootstrap.Util.getUID('bs'))
+ $('[data-toggle="tooltip"]').tooltip()
+})