I cannot configure jest properly to import modules (setupFilesAfterEnv)
问题 I am using @angular-builders/jest in order to replace karma by jest when testing angular projects. There are 2 libraries that I like to get extra matchers for jest: jest-extended and @testing-library/jest-dom . I cannot find a way to import automatically the matchers so that I don't have to import them in each spec file. minimal example to reproduce the problem with jest-extended First, create an angular project and install jest dependencies ng new --defaults my-project cd my-project yarn add