This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Karma.
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 |
---|---|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
configureSettings | Action |
Function to supply for configuring settings. |
Return Value
Type | Description |
---|---|
void |