Skip to content

Commit e49ec0e

Browse files
authored
docs: fix typos in CodeTransformation.md
1 parent 95f4969 commit e49ec0e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/CodeTransformation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You can write your own transformer. The API of a transformer is as follows:
2424
```ts
2525
interface SyncTransformer<OptionType = unknown> {
2626
/**
27-
* Indicates if the transformer is capabale of instrumenting the code for code coverage.
27+
* Indicates if the transformer is capable of instrumenting the code for code coverage.
2828
*
2929
* If V8 coverage is _not_ active, and this is `true`, Jest will assume the code is instrumented.
3030
* If V8 coverage is _not_ active, and this is `false`. Jest will instrument the code returned by this transformer using Babel.
@@ -59,7 +59,7 @@ interface SyncTransformer<OptionType = unknown> {
5959

6060
interface AsyncTransformer<OptionType = unknown> {
6161
/**
62-
* Indicates if the transformer is capabale of instrumenting the code for code coverage.
62+
* Indicates if the transformer is capable of instrumenting the code for code coverage.
6363
*
6464
* If V8 coverage is _not_ active, and this is `true`, Jest will assume the code is instrumented.
6565
* If V8 coverage is _not_ active, and this is `false`. Jest will instrument the code returned by this transformer using Babel.
@@ -120,7 +120,7 @@ type TransformedSource =
120120
| {code: string; map?: RawSourceMap | string | null}
121121
| string;
122122

123-
// Config.ProjectConfig can be seen in in code [here](https://github.com/facebook/jest/blob/v26.6.3/packages/jest-types/src/Config.ts#L323)
123+
// Config.ProjectConfig can be seen in code [here](https://github.com/facebook/jest/blob/v26.6.3/packages/jest-types/src/Config.ts#L323)
124124
// RawSourceMap comes from [`source-map`](https://github.com/mozilla/source-map/blob/0.6.1/source-map.d.ts#L6-L12)
125125
```
126126

0 commit comments

Comments
 (0)