Answer the question
In order to leave comments, you need to log in
What's wrong with importing a library?
I'm trying to import https://testing-library.com/
Importing screen into the test file
jest-setup.ts
jest.config.js
if you write "include": ["./jest-setup.ts","], then the library is imported
But when you use alias it writes this
"include": ["./jest-setup.ts", "src/"]. But when so then the library is not found again
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question