You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ProgrammaticApi.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,9 +74,9 @@ Async function that performs the run. It returns a promise that resolves in a `J
74
74
75
75
These are more advanced use cases that demonstrate the power of the api.
76
76
77
-
### Forcing some config options
77
+
### Overriding config options
78
78
79
-
You can use `readInitialOptions` in combination with `runCLI`to run jest using the local config, while forcing some options. We're also always focussing our tests on the `foo.js` file.
79
+
You can use `createJest`to create a Jest instance, and alter some of the options using `globalConfig` adn `projectConfigs`.
0 commit comments