mirror of
https://github.com/RustyRaptor/Jonathan-Authentication-Server.git
synced 2026-12-03 23:25:23 -07:00
17 lines
233 B
JavaScript
17 lines
233 B
JavaScript
var tests = [];
|
|
|
|
|
|
exports.registerTest = registerTest;
|
|
function registerTest(test) {
|
|
tests.push(test)
|
|
}
|
|
|
|
exports.runNext = runNext;
|
|
function runNext() {
|
|
if (!tests.length) {
|
|
return;
|
|
}
|
|
|
|
tests.shift().toss();
|
|
}
|