Icard/angular-clarity-master(work.../node_modules/jasmine-spec-reporter/CHANGELOG.md

9.8 KiB

7.0.0

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

6.0.0

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

5.0.2

Bugfix

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

5.0.1

Bugfix

  • Promote colors as a dependency #472

5.0.0

Feature

  • New option to display pretty stacktraces #467

Breaking change

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

4.2.1

Bugfix

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

4.2.0

Feature

  • Support reporting errors in afterAll #210, #214

4.1.1

Bugfix

  • Correct report from jasmineStarted event #185

4.1.0

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

4.0.0

  • 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;

3.3.0

  • Add low-level print configuration option #129, #130

3.2.0

  • Add an option to remove duration from execution summary.
  • Add jasmine & protractor integration tests #82

3.1.0

  • Add displaySpecErrorMessages and displaySummaryErrorMessages to DisplayProcessor #85
  • Add an option to remove error messages #62
  • Add an option to customize stacktrace filtering #72

3.0.0

Breaking changes

  • Remove support for node 0.10

  • jasmine-spec-reporter module exports SpecReporter and DisplayProcessor, see SpecReporter and DisplayProcessor usages.

  • Extract groups in configuration and rationalize property names, see new structure. #57

  • Colors deactivation is now achieved with this configuration:

    {
      colors: {
        enabled: false
      }
    }
    
  • Custom options for custom processors must now be stored in this configuration field:

    {
      customOptions: {
        foo: 'bar'
      }
    }
    

Other

2.7.0

  • Add successes summary. #49

2.6.0

  • Display seed used if specs are randomized. #55

2.5.0

  • Added support for windows platform to show tick mark and cross symbols. #52

2.4.0

  • Add singular form of spec metrics. #41

2.3.0

Feature

  • Add pending summary to display pending reasons. #33
  • Have same sign/color convention than jasmine default reporter for pending specs.

Other

  • Add tests on colors. #34
  • Bump dependencies versions

2.2.3

Ensure that colors are always enabled. #36

2.2.2

Bugfix

  • Fixes All specs displayed when using fdescribe and fit. #37

2.2.1

Bugfix

  • Disabled specs was incorrectly reported as failed. #28

Other

  • Tests: Use jasmine env instead of fake env #25

2.2.0

Feature

  • stacktrace: displayStacktrace option has now 4 modes available #26:

    • all: display stacktraces for failed specs and in failures summary.
    • specs: display stacktraces for failed specs only.
    • summary: display stacktraces in failures summary only.
    • none: do not display stacktraces.
  • processor:

    • add displayJasmineStarted hook
    • add displaySpecStarted hook #23

Breaking change

displayStacktrace: true is not working anymore. You will have to choose the displayStacktrace mode that suits you best.

Other

  • Bump dependencies versions
  • Rework documentation

2.1.0

When a suite or spec is focused, it displays the total of specs defined and the number of skipped specs #11

2.0.0

Feature

Add support for jasmine 2.x #10

Breaking change

  • Jasmine 1.x is not supported by this version

  • Skipped specs are not displayable in favour of pending specs.

1.2.0

Feature

  • stacktrace: displayStacktrace option has now 4 modes available:

    • all: display stacktraces for failed specs and in failures summary.
    • specs: display stacktraces for failed specs only.
    • summary: display stacktraces in failures summary only.
    • none: do not display stacktraces.
  • processor: add displayJasmineStarted hook

Breaking change

displayStacktrace: true is not working anymore. You will have to choose the displayStacktrace mode that suits you best.

Other

  • Bump colors versions
  • Rework documentation

1.1.2

Add message when reporter 1.x is used with jasmine > 1.x

1.1.1

Fixes error when the stacktrace is undefined #22

1.1.0

Add suite number option #19

1.0.0

Feature

Add customProcessors option #18

Breaking change

Jasmine spec reporter is no more added to the jasmine object. So, make sure to use it like it is described in the usage section.

0.6.0

  • Add option to configure spec prefixes #14

  • Filter jasmine stacktrace #12

0.5.0

Display failures summary #13

0.4.0

  • Add option to disable colors #4

  • Add option to overwrite color theme #5

  • Add option to include skipped specs #2

0.3.3

Add option to display spec duration #6

0.3.2

Display human readable duration #9

0.3.1

Added a hack procedure to remove dot reporter #8

0.3.0

Add options to exclude successful / failed specs #3

0.2.0

Add option to include stack trace on failure #1

0.1.0

First version with unit tests