Nevertheless! Party Metaphorically

    @types/mocha-phantomjs
    TypeScript icon, indicating that this package has built-in type declarations

    3.5.30 • Public • Published

    Installation

    npm install --save @types/mocha-phantomjs

    Summary

    This package contains type definitions for mocha-phantomjs (http://metaskills.net/mocha-phantomjs/).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mocha-phantomjs.

    index.d.ts

    // Type definitions for mocha-phantomjs v3.5.0
    // Project: http://metaskills.net/mocha-phantomjs/
    // Definitions by: Erik Schierboom <https://github.com/ErikSchierboom>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    interface MochaPhantomJsWindowOptions extends Window {
        env: any;
        failures: number;
        ended: boolean;
        started: boolean;
        run(): void;
    }
    
    interface Window {
        mochaPhantomJS(): MochaPhantomJsWindowOptions;
    }
    
    interface MochaPhantomJSOptions {
        headers?: any;
        cookies?: any[] | undefined;
        viewportSize?: number | undefined;
        timeout?: number | undefined;
        file?: string | undefined;
    }
    
    interface MochaPhantomJS {
        url: string;
        columns: number;
        mochaStartWait: number;
        startTime: Date;
        output: any;
        
        run(): void;
        customizeMocha(options: MochaPhantomJSOptions): void;    
    }
    
    declare var mochaPhantomJS: MochaPhantomJS;

    Additional Details

    • Last updated: Thu, 08 Jul 2021 18:50:53 GMT
    • Dependencies: none
    • Global values: mochaPhantomJS

    Credits

    These definitions were written by Erik Schierboom.

    Keywords

    none

    Install

    npm i @types/mocha-phantomjs

    DownloadsWeekly Downloads

    484

    Version

    3.5.30

    License

    MIT

    Unpacked Size

    4.48 kB

    Total Files

    4

    Last publish

    Collaborators

    • types