mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-19 08:46:56 +02:00
17 lines
526 B
TypeScript
17 lines
526 B
TypeScript
import {
|
|
loadEvalCasesFromDir,
|
|
type LoadEvalCasesOptions,
|
|
type WorkflowTestCaseWithFile,
|
|
} from '../../utils/load-eval-cases';
|
|
|
|
export type { WorkflowTestCaseWithFile } from '../../utils/load-eval-cases';
|
|
|
|
/** Load test cases with their file slugs (for LangSmith dataset sync derived IDs). */
|
|
export function loadWorkflowTestCasesWithFiles(
|
|
filter?: string,
|
|
exclude?: string,
|
|
options?: LoadEvalCasesOptions,
|
|
): WorkflowTestCaseWithFile[] {
|
|
return loadEvalCasesFromDir(__dirname, filter, exclude, undefined, options);
|
|
}
|