MCPcopy
hub / github.com/julianshapiro/velocity / asyncTests

Function asyncTests

test/test.js:112–123  ·  view source on GitHub ↗
(assert, count, callback)

Source from the content-addressed store, hash-verified

110 });
111 }
112 function asyncTests(assert, count, callback) {
113 if (!assert) {
114 var oldCount = asyncCount;
115 asyncCount = 0;
116 return oldCount;
117 }
118 var done = assert.async(1);
119 asyncCount += count;
120 setTimeout(function () {
121 callback(done);
122 }, 1);
123 }
124 QUnit.testDone(function () {
125 try {
126 document.querySelectorAll(".velocity-animating").velocity("stop");

Callers 1

test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…