Initial commit: Telegram Management System
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
Full-stack web application for Telegram management - Frontend: Vue 3 + Vben Admin - Backend: NestJS - Features: User management, group broadcast, statistics 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
53
backend/test/package.json
Normal file
53
backend/test/package.json
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"name": "telegram-management-system-tests",
|
||||
"version": "1.0.0",
|
||||
"description": "Test suite for Telegram Management System",
|
||||
"scripts": {
|
||||
"test": "mocha --recursive --timeout 30000 --exit",
|
||||
"test:unit": "mocha services/*.test.js --timeout 15000 --exit",
|
||||
"test:integration": "mocha integration/*.test.js --timeout 30000 --exit",
|
||||
"test:routers": "mocha routers/*.test.js --timeout 15000 --exit",
|
||||
"test:coverage": "nyc mocha --recursive --timeout 30000 --exit",
|
||||
"test:watch": "mocha --recursive --timeout 30000 --watch",
|
||||
"lint": "eslint . --ext .js",
|
||||
"lint:fix": "eslint . --ext .js --fix"
|
||||
},
|
||||
"devDependencies": {
|
||||
"mocha": "^10.2.0",
|
||||
"chai": "^4.3.10",
|
||||
"sinon": "^17.0.1",
|
||||
"nyc": "^15.1.0",
|
||||
"eslint": "^8.55.0",
|
||||
"supertest": "^6.3.3",
|
||||
"ioredis-mock": "^8.9.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"sqlite3": "^5.1.6",
|
||||
"sequelize": "^6.35.1",
|
||||
"@hapi/hapi": "^21.3.2",
|
||||
"moment": "^2.29.4"
|
||||
},
|
||||
"nyc": {
|
||||
"exclude": [
|
||||
"test/**",
|
||||
"coverage/**",
|
||||
"node_modules/**"
|
||||
],
|
||||
"reporter": [
|
||||
"text",
|
||||
"html",
|
||||
"lcov"
|
||||
],
|
||||
"check-coverage": true,
|
||||
"lines": 80,
|
||||
"functions": 80,
|
||||
"branches": 70,
|
||||
"statements": 80
|
||||
},
|
||||
"mocha": {
|
||||
"recursive": true,
|
||||
"timeout": 30000,
|
||||
"exit": true,
|
||||
"reporter": "spec"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user