@types/karma-notify-reporter
TypeScript icon, indicating that this package has built-in type declarations

1.2.4 • Public • Published

Installation

npm install --save @types/karma-notify-reporter

Summary

This package contains type definitions for karma-notify-reporter (https://github.com/jdcataldo/karma-notify-reporter#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-notify-reporter.

index.d.ts

import "karma";

declare module "karma" {
    interface ConfigOptions {
        /**
         * Report test results using OSX Notification Center, Growl or notify-send.
         * {@link https://github.com/jdcataldo/karma-notify-reporter#karma-notify-reporter}
         */
        notifyReporter?: NotifyReporterOptions | undefined;
    }

    interface NotifyReporterOptions {
        /**
         * Will notify on every failed spec
         * @default false
         */
        reportEachFailure?: boolean | undefined;
        /**
         * Will notify when a suite was successful
         * @default true
         */
        reportSuccess?: boolean | undefined;
        /**
         * Will notify when a suite was back to successful
         * @default true
         */
        reportBackToSuccess?: boolean | undefined;
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:38 GMT
  • Dependencies: @types/karma

Credits

These definitions were written by Piotr Błażejewicz.

Dependents (0)

Package Sidebar

Install

npm i @types/karma-notify-reporter

Weekly Downloads

52

Version

1.2.4

License

MIT

Unpacked Size

4.43 kB

Total Files

5

Last publish

Collaborators

  • types