sibanu_web/public/assets/vendor/jquery.scrollbar/meteor/tests.js
2022-08-20 13:21:23 +07:00

11 lines
385 B
JavaScript

'use strict';
Tinytest.add('Scrollbar integration', function (test) {
var div = document.createElement('div');
div.className = 'scrollbar-inner';
div.value = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam in.";
var scrollBar = jQuery('.scrollbar-inner').scrollbar();
console.log(scrollBar);
test.isNotNull(scrollBar, 'instantiation OK');
});