Content-Length: 280230 | pFad | http://github.com/agdolla/testing-library-docs/commit/2c62ea95d7d97320bc8854809de7ad52968774e7
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f09ac2b commit 2c62ea9Copy full SHA for 2c62ea9
docs/react-testing-library/setup.md
@@ -257,6 +257,23 @@ module.exports = {
257
}
258
```
259
260
+*Typescript config needs to be updated as follow:*
261
+
262
+```diff
263
+// tsconfig.json
264
+{
265
+ "compilerOptions": {
266
+ // ...,
267
++ "baseUrl": "src",
268
++ "paths": {
269
++ "test-utils": ["../utils/test-utils"]
270
++ }
271
+ }
272
+}
273
+```
274
275
276
277
### Jest and Create React App
278
279
If your project is based on top of Create React App, to make the `test-utils`
Fetched URL: http://github.com/agdolla/testing-library-docs/commit/2c62ea95d7d97320bc8854809de7ad52968774e7
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments