Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #19 from benansell/upgrade_typescript_2.7.1
Browse files Browse the repository at this point in the history
Updates dependencies except rewire & promptly
  • Loading branch information
benansell authored Feb 4, 2018
2 parents a9ff4f9 + 73327c0 commit 59bbfac
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 24 deletions.
25 changes: 25 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/reporter-standard-console.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export interface ReporterStandardConsole {
export class ReporterStandardConsoleImp implements ReporterStandardConsole {

private headerStyle: Chalk = chalk.bold;
private initArgs: plugin.RunArgs;
private initArgs?: plugin.RunArgs;
private logger: plugin.PluginReporterLogger;
private decorator: plugin.TestResultDecorator;
private testResultFormatter: TestResultFormatter;
Expand Down
9 changes: 7 additions & 2 deletions lib/reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as Bluebird from "bluebird";
import * as program from "commander";
import * as _ from "lodash";
import * as plugin from "./plugin";
import * as defaultReporterPlugin from "../plugin/default-reporter/reporter-plugin";

interface PartialTestRunSummary {
config: plugin.TestReportConfig;
Expand Down Expand Up @@ -37,10 +38,14 @@ export interface TestDebugLogMessages {
}

export class ReporterImp implements Reporter {
public testDebugLogMessages: TestDebugLogMessages[];
public testDebugLogMessages: TestDebugLogMessages[] = [];

private reporterPlugin: plugin.PluginReporter;

constructor(defaultReporter: plugin.PluginReporter) {
this.reporterPlugin = defaultReporter;
}

public configure(reporterPlugin: plugin.PluginReporter): void {
this.reporterPlugin = reporterPlugin;
}
Expand Down Expand Up @@ -208,5 +213,5 @@ export class ReporterImp implements Reporter {
}

export function createReporter(): Reporter {
return new ReporterImp();
return new ReporterImp(defaultReporterPlugin.createPlugin());
}
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lobo",
"version": "0.4.0",
"version": "0.4.1",
"description": "Elm test runner",
"keywords": [
"elm",
Expand Down Expand Up @@ -28,47 +28,47 @@
"dependencies": {
"bluebird": "^3.5.1",
"chalk": "^2.3.0",
"chokidar": "^1.7.0",
"commander": "^2.11.0",
"chokidar": "^2.0.0",
"commander": "^2.13.0",
"fast-levenshtein": "^2.0.5",
"lodash": "^4.16.4",
"lodash": "^4.17.5",
"promptly": "^2.2.0",
"shelljs": "^0.7.7",
"shelljs": "^0.8.1",
"tmp": "^0.0.33"
},
"devDependencies": {
"@types/bluebird": "^3.5.18",
"@types/chai": "^4.0.3",
"@types/bluebird": "^3.5.20",
"@types/chai": "^4.1.2",
"@types/chai-things": "0.0.32",
"@types/chokidar": "^1.7.3",
"@types/chokidar": "^1.7.4",
"@types/commander": "^2.11.0",
"@types/fast-levenshtein": "0.0.1",
"@types/lodash": "^4.14.81",
"@types/mocha": "^2.2.44",
"@types/node": "^8.0.47",
"@types/lodash": "^4.14.100",
"@types/mocha": "^2.2.48",
"@types/node": "^9.4.0",
"@types/promptly": "^1.1.28",
"@types/rewire": "^2.5.28",
"@types/shelljs": "^0.7.5",
"@types/sinon": "^2.3.7",
"@types/shelljs": "^0.7.8",
"@types/sinon": "^4.1.3",
"@types/sinon-chai": "^2.7.28",
"@types/tmp": "^0.0.33",
"@types/wallabyjs": "^0.0.6",
"chai": "^4.1.1",
"chai-things": "^0.2.0",
"coveralls": "^3.0.0",
"istanbul": "^0.4.5",
"mocha": "^4.0.1",
"mocha-junit-reporter": "^1.15.0",
"mocha": "^5.0.0",
"mocha-junit-reporter": "^1.17.0",
"mocha-lcov-reporter": "^1.2.0",
"nyc": "^11.3.0",
"nyc": "^11.4.1",
"rewire": "^2.5.2",
"rimraf": "^2.6.2",
"sinon": "^4.1.1",
"sinon": "^4.2.2",
"sinon-chai": "^2.14.0",
"source-map-support": "^0.5.0",
"ts-node": "^3.3.0",
"tslint": "^5.8.0",
"typescript": "^2.6.1"
"source-map-support": "^0.5.3",
"ts-node": "^4.1.0",
"tslint": "^5.9.1",
"typescript": "^2.7.1"
},
"nyc": {
"exclude": [
Expand Down

0 comments on commit 59bbfac

Please sign in to comment.