KarmaAliases.

KarmaStart(ICakeContext, Action<KarmaStartSettings>) Method

Summary

Runs karma start with a function for settings.
Assembly
Cake.Karma.dll
Namespace
Cake.Karma
Containing Type
KarmaAliases

Syntax

public static void KarmaStart(this ICakeContext context, Action<KarmaStartSettings> configureSettings)

Examples

Define the configuration file

KarmaStart(settings => 
    {
        settings.ConfigFile = "karma.conf.js";
    });

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
configureSettings Action<KarmaStartSettings> Function to supply for configuring settings.

Return Value

Type Description
void