Initial import from local backup (Documents-Playground/pakerpale)

This commit is contained in:
jeonghwa
2026-07-03 05:27:27 +09:00
commit 95f0db96a9
3412 changed files with 433449 additions and 0 deletions

35
node_modules/seq/test/readdir.js generated vendored Normal file
View File

@@ -0,0 +1,35 @@
var assert = require('assert');
var Seq = require('seq');
var fs = require('fs');
exports.readdir = function () {
var to = setTimeout(function () {
assert.fail('never got to the end of the chain');
}, 500);
Seq()
.seq(fs.readdir, __dirname, Seq)
.seq(function (files) {
clearTimeout(to);
assert.ok(files.length >= 2);
})
.catch(assert.fail)
;
};
exports.readdirs = function () {
var to = setTimeout(function () {
assert.fail('never got to the end of the chain');
}, 500);
Seq()
.par(fs.readdir, __dirname, Seq)
.par(fs.readdir, __dirname + '/../examples', Seq)
.seq(function (tests, examples) {
clearTimeout(to);
assert.ok(tests.length >= 2);
assert.ok(examples.length >= 2);
})
.catch(assert.fail)
;
};