1 | import { Tree } from '@nrwl/devkit';
|
2 | /**
|
3 | * Add a property to the jest config
|
4 | * @param host
|
5 | * @param path - path to the jest config file
|
6 | * @param propertyName - Property to update. Can be dot delimited or an array to access deeply nested properties
|
7 | * @param value
|
8 | * @param options - set `valueAsString` option to true if the `value` being passed represents a string of the code that should be associated with the `propertyName`
|
9 | */
|
10 | export declare function addPropertyToJestConfig(host: Tree, path: string, propertyName: string | string[], value: unknown, options?: {
|
11 | valueAsString: boolean;
|
12 | }): void;
|
13 | /**
|
14 | * Remove a property value from the jest config
|
15 | * @param host
|
16 | * @param path
|
17 | * @param propertyName - Property to remove. Can be dot delimited or an array to access deeply nested properties
|
18 | */
|
19 | export declare function removePropertyFromJestConfig(host: Tree, path: string, propertyName: string | string[]): void;
|
20 | export declare function addImportStatementToJestConfig(host: Tree, path: string, importStatement: string): void;
|