mirror of https://github.com/RubaXa/Sortable.git
RubaXa
9 years ago
4 changed files with 37 additions and 5 deletions
@ -0,0 +1,13 @@ |
|||||||
|
(function () { |
||||||
|
'use strict'; |
||||||
|
|
||||||
|
QUnit.sortableTest = function sortableTest(name, options, fn) { |
||||||
|
QUnit.test(name, function (assert) { |
||||||
|
var done = assert.async(); |
||||||
|
var data = simulateDrag(options, function () { |
||||||
|
fn(assert, data, options); |
||||||
|
done(); |
||||||
|
}); |
||||||
|
}); |
||||||
|
}; |
||||||
|
})(); |
Loading…
Reference in new issue