I just got this working, with some caveats... the implementation is somewhat tied to babel, which is used to transform the Javascript (or TS, JSX, whatever) into whatever ES/CommonJs type that Jest likes.
We can do that with esbuild's transform API, which is really fast. But, I haven't attempted that yet.
Let's merge the tests in so that yarn test is off the launch list - a big target! - with the aim to revisit the aforementioned transformation requirements, to be replaced with esbuild.transform() , at a later date.
I just got this working, with some caveats... the implementation is somewhat tied to babel, which is used to transform the Javascript (or TS, JSX, whatever) into whatever ES/CommonJs type that Jest likes.
We can do that with esbuild's transform API, which is really fast. But, I haven't attempted that yet.
Let's merge the tests in so that
yarn test
is off the launch list - a big target! - with the aim to revisit the aforementioned transformation requirements, to be replaced withesbuild.transform()
, at a later date.