Documentation Home
This page is for an older version of jasmine-browser-runner (2.1).
The current stable version of jasmine-browser-runner is: 2.5. You can also look at the docs for the next release: Edge

Module: jasmine-browser-runner

Methods

(static) runSpecs(options) → {Promise.<JasmineDoneInfo>}

Runs the specs.

Parameters:
Name Type Description
options Configuration
Returns:

A promise that resolves to the overall result when the suite has finished running.

Type
Promise.<JasmineDoneInfo>

(static) startServer(options, serverOptions) → {Promise.<undefined>}

Starts a Server that will serve the specs and supporting files via HTTP.

Parameters:
Name Type Description
options ServerCtorOptions

to use to construct the server

serverOptions ServerStartOptions

Options to use to start the server

Returns:

A promise that is resolved when the server is started.

Type
Promise.<undefined>