Documentation Home
This page describes a pre-release version of jasmine-browser-runner (3.0.0-beta-1). There may be additional changes, including breaking changes, before the final 3.0.0 release.
The current stable version of jasmine-browser-runner is 2.5.

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) → {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

Returns:

A promise that is resolved when the server is started.

Type
Promise.<undefined>