test(startup): add startup test for missing DISCORD_TOKEN

This commit is contained in:
2025-04-23 21:54:52 +08:00
parent 74dfdbf667
commit 47de3823f3
2 changed files with 20 additions and 3 deletions

View File

@@ -3,9 +3,10 @@
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"scripts": {
"start": "node src/index.js",
"test": "jest"
},
"keywords": [],
"author": "",
"license": "ISC",
@@ -14,5 +15,8 @@
"dotenv": "^16.5.0",
"erela.js": "^2.4.0",
"winston": "^3.17.0"
},
"devDependencies": {
"jest": "^29.7.0"
}
}