hirezio / given

A monorepo for jasmine / jest addons that help you clean up your microtests by breaking them into a Given / When / Then structure.
MIT License
21 stars 4 forks source link

How to setup in a new nx-workspace for when using wallabyjs? #21

Open whernebrink opened 11 months ago

whernebrink commented 11 months ago

Is your feature request related to a problem? Please describe.

I'm trying to set this up in a new nx workspace (17+). Anyone that can help out? I've added this: "setupFilesAfterEnv": ["node_modules/@hirez_io/jest-given/dist/jest-given.js"] to the tsconfig.app.json, but (wallaby) still complains. Also added the:

"typeRoots": [
  "node_modules/@types",
  "node_modules/@hirez_io" // <-- ADD THIS
],

But without any luck. Anyone with a working nx workspace + jest-given + wallabyjs?