Refactor NIP-07 helpers and session actor storage

This commit is contained in:
thePR0M3TH3AN committed 2025-10-22 11:25:46 -04:00
1 parent 35ac62be15
commit 3382185512
6 files changed
+935 -659

No files matched your search

+5 -1
View File
@@ -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);