@japa/runner
Version:
A simple yet powerful testing framework for Node.js
18 lines (17 loc) • 523 B
TypeScript
import type { TestFiles } from './types.js';
/**
* Files manager exposes the API to collect, filter and import test
* files based upon the config
*/
export declare class FilesManager {
/**
* Returns a collection of files from the user defined
* glob or the implementation function
*/
getFiles(cwd: string, files: TestFiles, excludes: string[]): Promise<URL[]>;
/**
* Applies file name filter on a collection of file
* URLs
*/
grep(files: URL[], filters: string[]): URL[];
}