Closed m-a-r-c-e-l-i-n-o closed 8 years ago
how did you work around this @m-a-r-c-e-l-i-n-o? I haven't yet found a way to use JSX in tests.
@edrex I gave a brief explanation on what was wrong. Basically, I left the configuration as it was and placed my test folder inside the my app folder (i.e. src), and it transpiled along with the my other app files. Do any of your files transpile?
Thanks @m-a-r-c-e-l-i-n-o. I eventually got the test files to JSX transform by adding a meta
key entry for them. Not sure if that should have gone inside the packages
key instead, but it got me unstuck.
@guybedford ^^ is this a good way to go about adding more files to the JSX transform?
Yes that's a good approach!
Not sure if this is a jspm beta bug, a configuration issue or a karma-jspm issue, was hoping someone could shed some light. https://github.com/jspm/jspm-cli/issues/1671