Skip to content

Update dependency jasmine-spec-reporter to v7

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
jasmine-spec-reporter 5.0.2 -> 7.0.0 age adoption passing confidence

Release Notes

bcaudan/jasmine-spec-reporter

v7.0.0

Compare Source

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

Compare Source

Feature

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
  }
}

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box.

This MR has been generated by Renovate Bot.

Edited by Particify Dependency Bot

Merge request reports