Skip to content

Commit

Permalink
- r better typescript
Browse files Browse the repository at this point in the history
Co-Authored-By: Matt Hughes <221921+mch@users.noreply.github.com>
  • Loading branch information
isidore and mch committed May 24, 2024
1 parent 58152d7 commit bd6eeb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/Reporting/Reporters/gitdiffReporter.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import GenericDiffReporterBase from "../GenericDiffReporterBase";
import { createEmptyFileIfNotExists, searchForExecutable } from "../../AUtils";

class Reporter extends GenericDiffReporterBase {
export default class GitDiffReporter extends GenericDiffReporterBase {
constructor() {
super("GitDiff");

Expand All @@ -26,4 +26,3 @@ class Reporter extends GenericDiffReporterBase {
}
}

module.exports = Reporter;
4 changes: 2 additions & 2 deletions test/Reporting/Reporters/GitDiffReporterTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

//git diff --no-index -- test\Reporters\a.txt test\Reporters\b.txt

import ReporterUnderTest from "../../../lib/Reporting/Reporters/gitdiffReporter";

var expect = require("chai").expect;
var path = require("path");
var ReporterUnderTest = require("../../../lib/Reporting/Reporters/gitdiffReporter");

describe("Reporter", function () {
describe("git diff", function () {
it("reporter args are correct", function () {
Expand Down

0 comments on commit bd6eeb4

Please sign in to comment.