KarmaAliases.

KarmaRun(ICakeContext, Action<KarmaRunSettings>) Method

Summary

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

Syntax

public static void KarmaRun(this ICakeContext context, Action<KarmaRunSettings> configureSettings)

Examples

Define the configuration file

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

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
void