diff --git a/docs/plugins/testing.md b/docs/plugins/testing.md index 3a7da2d410..7213cdcdb0 100644 --- a/docs/plugins/testing.md +++ b/docs/plugins/testing.md @@ -26,10 +26,14 @@ To run both `MyComponent.test.tsx` and `MyControl.test.tsx` suite of tests: yarn test MyCo -Note: if `console.logs` are not appearing, run only the individual test you are +:::note Note + +if `console.logs` are not appearing, run only the individual test you are working on. [This is a bug in Jest](https://github.com/facebook/jest/issues/2441). +::: + ## Naming Test Files Tests should be named `[filename].test.ts`, or `[filename].test.tsx` if it contains JSX (as is the case for a lot of React tests, e.g. components).