Primeiro Commit v0.beta1

This commit is contained in:
2026-04-29 00:27:50 -03:00
parent 93d4906fb5
commit 8662a153fe
27 changed files with 16303 additions and 0 deletions

21
tests/run.mjs Normal file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/env node
import { spawn } from "node:child_process";
import path from "node:path";
import { fileURLToPath } from "node:url";
const testsDir = path.dirname(fileURLToPath(import.meta.url));
const testFiles = [
path.join(testsDir, "functions.test.mjs"),
path.join(testsDir, "lib-contracts.test.mjs"),
path.join(testsDir, "sales-prompts.test.mjs"),
];
const child = spawn(process.execPath, ["--test", ...testFiles], {
stdio: "inherit",
env: process.env,
});
child.on("close", (code) => {
process.exitCode = code ?? 1;
});