mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 20:32:20 +03:00
Integrated into release/v3.8.43 (drift-shed: cherry-picked the real change onto the release tip; stale-base drift dropped).
13 lines
405 B
TypeScript
13 lines
405 B
TypeScript
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/);
|
|
});
|