-
Notifications
You must be signed in to change notification settings - Fork 504
Custom jest.config.js #695
Copy link
Copy link
Closed
Labels
kind: supportAsking for support with something or a specific use caseAsking for support with something or a specific use casescope: docsDocumentation could be improved. Or changes that only affect docsDocumentation could be improved. Or changes that only affect docssolution: already possibleThis is already possible / this feature already existsThis is already possible / this feature already existssolution: duplicateThis issue or pull request already existsThis issue or pull request already exists
Description
I'm trying TSDX with React. And as I'm using toBeInTheDocument function from @testing-library/jest-dom, I need to import it in my test file.
But it would be awesome to add this import statement in the jest setup configuration instead of all test files I create.
Are there any way to TSDX read the "custom" jest.setup.js?
Thanks in advance!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind: supportAsking for support with something or a specific use caseAsking for support with something or a specific use casescope: docsDocumentation could be improved. Or changes that only affect docsDocumentation could be improved. Or changes that only affect docssolution: already possibleThis is already possible / this feature already existsThis is already possible / this feature already existssolution: duplicateThis issue or pull request already existsThis issue or pull request already exists