Initial commit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
谢宇宁
2026-11-05 20:30:26 +07:00
co-authored by Claude Opus 5.5
commit 6bd5cc665a
335 changed files with 44261 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import assert from "node:assert/strict";
import { readFileSync } from "node:fs";
import test from "node:test";
test("测试部署覆盖 91 短剧服务并使用相同包名", () => {
const deploy = readFileSync(new URL("../deploy_test.sh", import.meta.url), "utf8");
const run = readFileSync(new URL("../deploy/run.sh", import.meta.url), "utf8");
assert.match(deploy, /\/server\/web_91dj\/h5/);
assert.match(deploy, /web_91dj_h5\.tar\.gz/);
assert.match(deploy, /bash run\.sh/);
assert.match(run, /APP_DIR=\/server\/web_91dj\/h5/);
assert.match(run, /APP_NAME=web_91dj_h5/);
assert.match(run, /PORT=21021/);
});