| | |
| | | } |
| | | export interface SyncTransformer<OptionType = unknown> { |
| | | /** |
| | | * Indicates if the transformer is capabale of instrumenting the code for code coverage. |
| | | * Indicates if the transformer is capable of instrumenting the code for code coverage. |
| | | * |
| | | * If V8 coverage is _not_ active, and this is `true`, Jest will assume the code is instrumented. |
| | | * If V8 coverage is _not_ active, and this is `false`. Jest will instrument the code returned by this transformer using Babel. |
| | |
| | | } |
| | | export interface AsyncTransformer<OptionType = unknown> { |
| | | /** |
| | | * Indicates if the transformer is capabale of instrumenting the code for code coverage. |
| | | * Indicates if the transformer is capable of instrumenting the code for code coverage. |
| | | * |
| | | * If V8 coverage is _not_ active, and this is `true`, Jest will assume the code is instrumented. |
| | | * If V8 coverage is _not_ active, and this is `false`. Jest will instrument the code returned by this transformer using Babel. |