@stryker-mutator/core
Version:
The extendable JavaScript mutation testing framework
14 lines (10 loc) • 414 B
text/typescript
import { Project } from '../fs/project.js';
import { FilePreprocessor } from './file-preprocessor.js';
export class MultiPreprocessor implements FilePreprocessor {
constructor(private readonly preprocessors: FilePreprocessor[]) {}
public async preprocess(project: Project): Promise<void> {
for await (const preprocessor of this.preprocessors) {
await preprocessor.preprocess(project);
}
}
}