You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to get resolve.conditions to apply to Vitest's setupFiles? I'm trying to set setupFiles: ["@flint.fyi/core/ts-patch/install-patch-hooks"], where @flint.fyi/core's package.json exports looks like this:
We output tsc -b to ./.tsbuildinfo/types/ before running tests for type tests, but we'd like to avoid running a full tsdown build as well, which it seems we need.
Ideally we wouldn't need to additionally pass [email protected]/source via NODE_OPTIONS, although we do use pnpm, so using shellEmulator is possible, if not our preference.
TBH, this is probably a feature request in disguise, but perhaps I'm just missing something. Thank you!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to get resolve.conditions to apply to Vitest's setupFiles? I'm trying to set
setupFiles: ["@flint.fyi/core/ts-patch/install-patch-hooks"], where@flint.fyi/core's package.json exports looks like this:We output
tsc -bto./.tsbuildinfo/types/before running tests for type tests, but we'd like to avoid running a full tsdown build as well, which it seems we need.Ideally we wouldn't need to additionally pass
[email protected]/sourceviaNODE_OPTIONS, although we do use pnpm, so usingshellEmulatoris possible, if not our preference.TBH, this is probably a feature request in disguise, but perhaps I'm just missing something. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions