mirror of https://github.com/facebook/jest.git
docs: correct grammar (#13194)
This commit is contained in:
parent
835a93666a
commit
f1deacc796
|
@ -108,7 +108,7 @@ Code that is written needs to be tested to ensure that it achieves the desired b
|
|||
|
||||
##### Unit tests
|
||||
|
||||
Some of the packages within jest have a `__tests__` directory. This is where unit tests reside in. If the scope of your work only requires a unit test, this is where you will write it in. Tests here usually don't require much if any setup.
|
||||
Some of the packages within jest have a `__tests__` directory. This is where unit tests reside in. If the scope of your work only requires a unit test, this is where you will write it in. Tests here usually don't require much of any setup.
|
||||
|
||||
##### Integration tests
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ npm install --save-dev ts-jest
|
|||
|
||||
#### Type definitions
|
||||
|
||||
There are two ways have [Jest global APIs](GlobalAPI.md) typed for test files written in TypeScript.
|
||||
There are two ways to have [Jest global APIs](GlobalAPI.md) typed for test files written in TypeScript.
|
||||
|
||||
You can use type definitions which ships with Jest and will update each time you update Jest. Simply import the APIs from `@jest/globals` package:
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ npm install --save-dev ts-jest
|
|||
|
||||
#### Type definitions
|
||||
|
||||
There are two ways have [Jest global APIs](GlobalAPI.md) typed for test files written in TypeScript.
|
||||
There are two ways to have [Jest global APIs](GlobalAPI.md) typed for test files written in TypeScript.
|
||||
|
||||
You can use type definitions which ships with Jest and will update each time you update Jest. Simply import the APIs from `@jest/globals` package:
|
||||
|
||||
|
|
Loading…
Reference in New Issue