Harder than I thought for several reasons:
- need access to common to tests the subparts, thus the unified tsconfig
in tests does not work (need the path translation to those parts)
- moving next to src I cannot use direct imports anymore (source files
are out of rootDir), thus have to rely on d.ts files in out which is
quite suboptimal as many parts do not expose the declaration files
(can only type Terminal as any atm)
- compiler output has to resemble the '../out/..' import logic of the TS
files or require fails, thus moved the ouput to './benchmark' for now
Conclusion: Not yet there, maybe not a good idea at all to move those
tests out of './src' as they heavily rely on not exported internals.
Needs more fiddling with the repo structure.