News for hackers. Stuff that matters.
Re:<3 Deno by ovao on Sunday February 12, 2023 @06:38PM (#34768399)
One particularly nice aspect to Deno is its built-in test runner. There’s no complex configuration, like grabbing ts-jest, setting up your transform filters, ensuring that you’re injecting `@jest/types` and then almost invariably spending time debugging precisely why it still can’t grok an export keyword.

The Node testing ecosystem has its obvious advantages in terms of how much it’s been buttressed by third-party efforts (which makes it incredibly flexible), but just being able to write a TypeScript test file, run `deno test` and just have it work is really a breath of fresh air.

Re:<3 Deno by johnny22 on Sunday February 12, 2023 @08:10PM (#34768980)
node has a built in test runner too, but i've not used it yet.
Re:<3 Deno by ovao on Sunday February 12, 2023 @09:11PM (#34769394)
Recently stabilized in v18, yes, and it’s pretty great, but it doesn’t support TypeScript without a transpilation step, so you’ll still need to implement a build pipeline before you’re able to run a test.

For pure JS projects it’s quite nice though.

Re:<3 Deno by johnny22 on Monday February 13, 2023 @01:58AM (#34770889)
ah indeed. it should :(