npm.io
1.2.4 • Published 2 years ago

@types/karma-notify-reporter

Licence
MIT
Version
1.2.4
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

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 0938 GMT
  • Dependencies: @types/karma

Credits

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