新建项目

This commit is contained in:
2026-07-29 10:50:33 +08:00
parent bfd3841cbd
commit 4f69b859a8
49 changed files with 5565 additions and 0 deletions

17
tests/run-all.js Normal file
View File

@@ -0,0 +1,17 @@
const path = require("path");
const { spawnSync } = require("child_process");
const testFiles = [
"game-service.test.js",
"page-contract.test.js",
"release-readiness.test.js"
];
testFiles.forEach((testFile) => {
const result = spawnSync(process.execPath, [path.join(__dirname, testFile)], {
stdio: "inherit"
});
if (result.status !== 0) process.exit(result.status || 1);
});
console.log("all automated checks passed");