Socket
Socket
Sign inDemoInstall

jasmine-spec-reporter

Package Overview
Dependencies
1
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    jasmine-spec-reporter

Spec reporter for jasmine behavior-driven development framework


Version published
Maintainers
1
Install size
253 kB
Created

Changelog

Source

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

Readme

Source

jasmine-spec-reporter

Greenkeeper badge Build Status codecov

Real time console spec reporter for jasmine testing framework.

Usage

Installation

Install jasmine-spec-reporter via npm:

npm install jasmine-spec-reporter --save-dev

Examples

Configuration

See full configuration and features: configuration.ts

Custom output

You can customize the output of the reporter yourself: see how.

Development

Requirements

  • npm >= 5

Commands

  • install dependencies: npm install
  • launch unit tests: npm test
  • launch integration tests: npm run test:integration

Debugging

Unit tests hijack console.log to verify output; use console.warn to debug.

Keywords

FAQs

Last updated on 20 Sep 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc