Skip to content

Releases: bcaudan/jasmine-spec-reporter

v7.0.0

10 Apr 14:15
Compare
Choose a tag to compare

Bugfix

  • 'SpecReporter' is not assignable to type 'Reporter | CustomReporter' #588

Breaking change

Update signature of CustomReporterResult to fix collision with new jasmine properties

Before:

export interface CustomReporterResult extends jasmine.CustomReporterResult {
  duration?: string;
}

Now:

export interface CustomReporterResult extends jasmine.CustomReporterResult {
  _jsr?: {
    formattedDuration?: string;
  };
}

v6.0.0

20 Sep 09:37
Compare
Choose a tag to compare

Feature

  • Use colors/safe #538

Breaking change

String prototype does not contain color properties anymore, colors must now be applied with the new theme component available as a field in custom display processors.

Before:

class MyProcessor extends DisplayProcessor {
    public displaySuccessfulSpec(spec: CustomReporterResult, log: string): string {
        return "OK ".successful + log;
    }
}

Now:

class MyProcessor extends DisplayProcessor {
    public displaySuccessfulSpec(spec: CustomReporterResult, log: string): string {
        return this.theme.successful("OK ") + log;
    }
}

v5.0.2

24 Apr 11:16
Compare
Choose a tag to compare

Bugfix

  • pretty stacktrace: catch uncaught exception on node internal files #479

v5.0.1

23 Mar 14:21
Compare
Choose a tag to compare

Bugfix

  • Promote colors as a dependency #472

v5.0.0

22 Mar 15:49
Compare
Choose a tag to compare

Feature

  • New option to display pretty stacktraces #467

Breaking change

displayStacktrace options now take a value among none, raw and pretty.

v4.2.1

15 Aug 07:54
Compare
Choose a tag to compare

Bugfix

  • Restore compatibility with jasmine < 2.5.0 #222, #223

v4.2.0

08 Aug 06:41
Compare
Choose a tag to compare

Feature

  • Support reporting errors in afterAll #210, #214

v4.1.1

21 Jun 06:09
Compare
Choose a tag to compare

Bugfix

  • Correct report from jasmineStarted event #185

v4.1.0

30 Apr 11:20
Compare
Choose a tag to compare

Feature

  • If any defined spec is not executed, report INCOMPLETE rather than SUCCESS #142, #145

Other

  • Rewrite unit tests by bumping jasmine-core to 2.6.x #155
  • Use yarn for development #98, #138
  • Add greenkeeper-yarn.sh to automatically updates yarn.lock on greenkeeper PR

v4.0.0

15 Apr 11:19
Compare
Choose a tag to compare
  • Use string primitive instead of String wrapper object #134, #137

Breaking change

It only impacts TypeScript integrations, DisplayProcessor methods signature now use string instead of String.

Before:

displaySuite(suite: CustomReporterResult, log: String): String;

Now:

displaySuite(suite: CustomReporterResult, log: string): string;