Current Behavior
Prior to v0.13 #504 , I could put a file into my test folder that contained utility code for tests and it would get compiled without a problem.
test/TestUtils.tsx
Now, when I tsdx build, I see this error:
rpt2: options error TS6059: File '/mui-rff/test/TestUtils.tsx' is not under 'rootDir' '/mui-rff/src'. 'rootDir' is expected to contain all source files.
Expected behavior
I have a place to put utility code for tests.
Suggested solution(s)
No idea, but you have a list of 3rd parties using this project and it would be nice if you would start to test future versions of tsdx against these projects to see if you break peoples stuff and can then use that to find out how to tell people how to fix their broken stuff.
Your environment
| Software |
Version(s) |
| TSDX |
v0.13 |
| TypeScript |
3.8.3 |
| npm/Yarn |
6.13.7 / 1.22.4 |
| Node |
v13.11.0 |
| Operating System |
OSX Catalina |
Current Behavior
Prior to v0.13 #504 , I could put a file into my test folder that contained utility code for tests and it would get compiled without a problem.
test/TestUtils.tsxNow, when I
tsdx build, I see this error:rpt2: options error TS6059: File '/mui-rff/test/TestUtils.tsx' is not under 'rootDir' '/mui-rff/src'. 'rootDir' is expected to contain all source files.Expected behavior
I have a place to put utility code for tests.
Suggested solution(s)
No idea, but you have a list of 3rd parties using this project and it would be nice if you would start to test future versions of tsdx against these projects to see if you break peoples stuff and can then use that to find out how to tell people how to fix their broken stuff.
Your environment