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
Say I have src/.../__tests__/xml.test.ts and src/.../__tests__/fixtures/test.xml. Before we switched to TS the test could load the xml file. But now the js files that are run are in dist and the fixtures are missing. What's a common approach to fix this? Can ts-jest run the file in-place and not move it to outDir?
Edit: I think my setup is broken, never mind (Jest was ignoring the ./src argument)
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
-
Say I have
src/.../__tests__/xml.test.ts
andsrc/.../__tests__/fixtures/test.xml
. Before we switched to TS the test could load the xml file. But now the js files that are run are indist
and the fixtures are missing. What's a common approach to fix this? Can ts-jest run the file in-place and not move it tooutDir
?Edit: I think my setup is broken, never mind (Jest was ignoring the
./src
argument)Beta Was this translation helpful? Give feedback.
All reactions