import path from "node:path";
import fg from "fast-glob";
import { TEST_IN_FOLDER } from "../common/constants.js";
export function findTestFiles(dir) {
    const normalizedDir = path.normalize(dir);
    const dirPattern = fg.convertPathToPattern(normalizedDir);
    const testFiles = path.posix.join(dirPattern, TEST_IN_FOLDER, "**", "*.test.ts");
    return fg.sync(testFiles);
}
//# sourceMappingURL=test-files.js.map