Reorganize repo structure and standards references
This commit is contained in:
1 parent
3cb93a81be
commit
be2054274d
5885 files changed
+2588
-195
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import fs from "node:fs";
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { resolveRepoPath } from "~/utils/testing/repoPaths";
|
||||
|
||||
describe("test routes i18n", () => {
|
||||
it("uses semantic translation keys for visible Sentry smoke-test copy", () => {
|
||||
const source = fs.readFileSync(resolveRepoPath("apps/web/app/routes/__test.client-throw.tsx"), "utf8");
|
||||
|
||||
expect(source).toContain("diagnostics.sentry.clientSmoke.title");
|
||||
expect(source).toContain("diagnostics.sentry.clientSmoke.description");
|
||||
expect(source).not.toContain("Sentry client smoke test");
|
||||
expect(source).not.toContain("Triggering a synchronous client-side error");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user