3.5.33 • Published 6 months ago

@types/mocha-phantomjs v3.5.33

Weekly downloads
357
License
MIT
Repository
github
Last release
6 months ago

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.

3.5.33

6 months ago

3.5.32

7 months ago

3.5.31

8 months ago

3.5.30

3 years ago

3.5.29

4 years ago

3.5.28

8 years ago

3.5.27

8 years ago

3.5.26-alpha

8 years ago

3.5.25-alpha

8 years ago

3.5.24-alpha

8 years ago

3.5.23-alpha

8 years ago

3.5.22-alpha

8 years ago

3.5.21-alpha

8 years ago

3.5.20-alpha

8 years ago

3.5.15-alpha

8 years ago

3.5.14-alpha

8 years ago