test(app): 新增 node:test 單元與整合測試並加入 test 指令

This commit is contained in:
Jeffery
2026-06-26 15:27:30 +08:00
parent 20b0387b4d
commit 264be4de30
6 changed files with 351 additions and 1 deletions
+2 -1
View File
@@ -5,7 +5,8 @@
"type": "module",
"main": "index.js",
"scripts": {
"start": "node index.js"
"start": "node index.js",
"test": "node --test"
},
"engines": {
"node": ">=18"