diff --git a/posts/2023/07/23/node-test-runner.md b/posts/2023/07/23/node-test-runner.md new file mode 100644 index 0000000..a0b5ed0 --- /dev/null +++ b/posts/2023/07/23/node-test-runner.md @@ -0,0 +1,37 @@ +--- +date: '2023-07-23' +title: Try `node:test` with TypeScript +snippet: node:test を動かしたかった +--- + +## TL;DR 🚶‍♂️🚶‍♂️🚶‍♂️ + +- Output: +- Must be used with a loader to use TypeScript + - +- The `assert` syntax can be used + - + - +- I still don't use it at work + +## Good + +- Type information is maintained 👌 +- `describe`, `it` can be used 👌 + +## Not Sure + +- Asynchronous process not terminated 😶‍🌫️ +- API is different on `node18` `node20` + + +## Visual + +- Very simple + - +- Not particularly excellent + +## 感想 + +- TypeScriptを使って小さなものを作りたい時に、nodejsを使うほど小さく便利なものではなかった +- もうしばらく様子を伺う