chore: add mandatory test concept and smoke-test workflow

This commit is contained in:
openclaw 2026-03-04 18:28:50 +00:00
parent d08e6f8a17
commit d2ed667f0c
3 changed files with 59 additions and 2 deletions

View file

@ -4,11 +4,12 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "npm run test:smoke",
"start": "node src/server.js",
"dev": "node --watch src/server.js",
"db:init": "node src/db/init.js",
"db:seed": "node src/db/seed.js"
"db:seed": "node src/db/seed.js",
"test:smoke": "node scripts/smoke-test.mjs"
},
"keywords": [],
"author": "",