3 ms·
Question for those who use Deno in their $job: How well does Jest work with Deno to test TypeScript? I was wondering because the announcement says it supports t
by bloopernova 2y ago
Question for those who use Deno in their $job: How well does Jest work with Deno to test TypeScript? I was wondering because the announcement says it supports typescript natively, which is intriguing after I've had issues with node+jest+es6+typescript.
(Issues = mts vs ts, configuration problems, lots of conflicting documentation. It doesn't help that I'm mostly DevOps and don't spend every day on writing Lambdas for AWS etc)
Edited to add: The installation page[1] talks about asdf[2] but I find mise-en-place[3] to be faster than asdf.
1: https://docs.deno.com/runtime/getting_started/installation/ https://docs.deno.com/runtime/getting_started/installation/
2: https://asdf-vm.com/ https://asdf-vm.com/
3: https://mise.jdx.dev/ https://mise.jdx.dev/
Mise/asdf are pretty great. A .tool-versions file in your homedir will set up default versions, and you can override them with .tool-versions in your repos. And because 2 different tools can read those versioning files, you can include them in the repo and pin versions.
- shepherdjerred 2y agoIMO vitest is much better than Jest when it comes to TS support. It just works out-of-the-box.