diff --git a/test/Reporting/Reporters/GitDiffReporterTests.ts b/test/Reporting/Reporters/GitDiffReporterTests.ts deleted file mode 100644 index 11dace6..0000000 --- a/test/Reporting/Reporters/GitDiffReporterTests.ts +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; - -//git diff --no-index -- test\Reporters\a.txt test\Reporters\b.txt - -import ReporterUnderTest from "../../../lib/Reporting/Reporters/gitdiffReporter"; - -import { expect } from "chai"; - -import path from "path"; - -describe("Reporter", function () { - describe("git diff", function () { - it("reporter args are correct", function () { - var reporter = new ReporterUnderTest(); - - var approved = path.join(__dirname, "a.txt"); - var received = path.join(__dirname, "b.txt"); - - reporter.spawn = (exe, args) => { - expect(args).to.deep.equal([ - "diff", - "--no-index", - "--", - received, - approved, - ]); - - return { - status: 0, // success - }; - }; - - reporter.report(approved, received); - }); - }); -});