mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-05 04:12:25 +00:00
update
This commit is contained in:
1 parent
b85a101749
commit
281a6511f1
165 files changed
+48618
-14019
No files matched your search
@@ -27,7 +27,11 @@ async function collectTests(dir) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (entry.isFile() && entry.name.endsWith(".test.mjs")) {
|
||||
const isTestFile =
|
||||
entry.isFile() &&
|
||||
(entry.name.endsWith(".test.mjs") || entry.name.endsWith(".test.js"));
|
||||
|
||||
if (isTestFile) {
|
||||
const content = await readFile(fullPath, "utf8");
|
||||
if (content.includes("node:test")) {
|
||||
testFiles.push(fullPath);
|
||||
|
||||
Reference in new issue
Block a user