test(web): cover file classification through diff ordering (#10304)

This commit is contained in:
Julius Marminge authored and GitHub committed 2026-09-05 22:30:47 -07:00
1 parent b4040d9bf3
commit f93aafcc2c
2 files changed
+26 -29

No files matched your search

@@ -31,7 +31,7 @@ const GENERATED_DIRECTORIES = new Set([
const TEST_DIRECTORIES = new Set(["__tests__", "tests", "test"]);
const MODULE_EXTENSIONS = [".ts", ".tsx", ".js", ".jsx", ".mjs", ".cjs"];
export function diffFileTier(path: string): DiffFileTier {
function diffFileTier(path: string): DiffFileTier {
const segments = path.split("/");
const name = segments.at(-1) ?? "";
if (