mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-29 00:42:30 +00:00
Refactor NIP-07 helpers and session actor storage
This commit is contained in:
1 parent
35ac62be15
commit
3382185512
6 files changed
+935
-659
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