first commit, after modifying client section
This commit is contained in:
10
public/assets/vendors/switchery/meteor/tests.js
vendored
Executable file
10
public/assets/vendors/switchery/meteor/tests.js
vendored
Executable file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
Tinytest.add('Switchery integration', function (test) {
|
||||
|
||||
var checkbox = document.createElement('input');
|
||||
checkbox.className = 'js-switch';
|
||||
var switchy = new Switchery(checkbox);
|
||||
|
||||
test.instanceOf(switchy, Switchery, 'instantiation OK');
|
||||
});
|
||||
Reference in New Issue
Block a user