INNER CODE UNIT · TypeScript

Failure

exograph/exograph · error-report-testing/src/index.ts:52

class Failure {
  constructor(readonly path: string, readonly reason: string, readonly diff: string) {
    this.path = path;
    this.reason = reason;
    this.diff = diff;
  }

  get actualErrorFilePath(): string {
    return path.join(this.path, 'error.txt.new');
  }

  get expectedErrorFilePath(): string {
    return path.join(this.path, 'error.txt');
  }
}

function checkExographProjects(directories: string[]): Array<Failure> {
  let failedProjects: Array<Failure> = [];

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…