Add bower_components as it contains the resources used by github pages.
This commit is contained in:
9
bower_components/Sortable/meteor/test.js
vendored
Normal file
9
bower_components/Sortable/meteor/test.js
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
Tinytest.add('Sortable.is', function (test) {
|
||||
var items = document.createElement('ul');
|
||||
items.innerHTML = '<li data-id="one">item 1</li><li data-id="two">item 2</li><li data-id="three">item 3</li>';
|
||||
var sortable = new Sortable(items);
|
||||
test.instanceOf(sortable, Sortable, 'Instantiation OK');
|
||||
test.length(sortable.toArray(), 3, 'Three elements');
|
||||
});
|
||||
Reference in New Issue
Block a user