chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:39:12 +08:00
commit d8dcd5f6d1
8604 changed files with 2479390 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import test from "node:test";
import assert from "node:assert/strict";
import { readFile } from "node:fs/promises";
import { join } from "node:path";
const repoRoot = join(import.meta.dirname, "../..");
test("app error boundary does not render stack traces", async () => {
const source = await readFile(join(repoRoot, "src/app/error.tsx"), "utf8");
assert.doesNotMatch(source, /error\.stack/);
});