tests.js 385 B

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