1.2.4 • Published 2 years ago

@types/karma-notify-reporter v1.2.4

Weekly downloads
54
License
MIT
Repository
github
Last release
2 years ago

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

// Type definitions for karma-notify-reporter 1.2
// Project: https://github.com/jdcataldo/karma-notify-reporter#readme
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.2

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: Thu, 08 Jul 2021 16:23:08 GMT
  • Dependencies: @types/karma
  • Global values: none

Credits

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

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

4 years ago

1.2.0

5 years ago