mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-25 02:09:05 +01:00
[WIP] API testing
This commit is contained in:
parent
4fbc4fbd71
commit
00f0fd2d07
@ -28,6 +28,7 @@ and more! You can touch with your own eyes at https://misskey.xyz/.
|
||||
6. `npm run build`
|
||||
|
||||
## Test
|
||||
ビルドしてから:
|
||||
`npm test`
|
||||
|
||||
## Setup
|
||||
|
@ -24,6 +24,7 @@
|
||||
"@types/bcrypt": "1.0.0",
|
||||
"@types/body-parser": "0.0.33",
|
||||
"@types/browserify": "12.0.30",
|
||||
"@types/chai": "3.4.34",
|
||||
"@types/chalk": "0.4.31",
|
||||
"@types/compression": "0.0.33",
|
||||
"@types/cors": "2.8.0",
|
||||
@ -43,6 +44,7 @@
|
||||
"@types/is-root": "1.0.0",
|
||||
"@types/is-url": "1.2.28",
|
||||
"@types/js-yaml": "3.5.29",
|
||||
"@types/mocha": "2.2.37",
|
||||
"@types/mongodb": "2.1.36",
|
||||
"@types/ms": "0.7.29",
|
||||
"@types/multer": "0.0.32",
|
||||
@ -66,6 +68,7 @@
|
||||
"body-parser": "1.15.2",
|
||||
"browserify": "13.3.0",
|
||||
"browserify-livescript": "0.2.3",
|
||||
"chai": "3.5.0",
|
||||
"chalk": "1.1.3",
|
||||
"chart.js": "2.4.0",
|
||||
"compression": "1.6.2",
|
||||
|
@ -54,3 +54,8 @@ server.listen(config.port, () => {
|
||||
// Send a 'ready' message to parent process
|
||||
process.send('ready');
|
||||
});
|
||||
|
||||
/**
|
||||
* Export app for testing
|
||||
*/
|
||||
module.exports = app;
|
||||
|
Loading…
Reference in New Issue
Block a user