Cody Casterline ๐Ÿณ๏ธโ€๐ŸŒˆ is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

How do you manage tests in ? My `src` and `test` are siblings so I can't import a module from `src` into a module in `test` with out making the rootDir the parent of both, but I don't want to do that (since that will change the output folder structure)

Solutions involving scripting might not work since I'm on ~Windows~ and might need this to build from just a single `tsc` invocation.

Cody Casterline ๐Ÿณ๏ธโ€๐ŸŒˆ @NfNitLoop

@Anathema Curious if you found a solution here. I haven't gotten around to writing unit tests in yet, and it's a bit surprising that the tsconfig.json doesn't support declaring a test directory!

ยท Web ยท 0 ยท 0

@NfNitLoop I didn't, for now I'm just not running the tests (only a very small % of our front-end code was had tests, so it isn't a big loss). I'm going to look into it later.