Module: jasmine-browser-runner

Methods

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

Runs the specs.

Parameters:
Name Type Description
options RunSpecsOptions
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>