Effect CommunityEC
Effect Communityβ€’3y agoβ€’
25 replies
adrian_g

Configuring Test Runner in TypeScript Monorepo with Yarn Workspaces and Jest

How do you configure your test runner in a TypeScript monorepo? I'm using project references and yarn (berry) workspaces (with local package referenced in package.json by "@my-org/my-package": "workspace:*") and it works buetifully in the editor, but can't seem to configure jest\ts-jest to "just work": I need to build all the workspace:* deps separately, before running jest in any given package.
Was this page helpful?