add etag tests

- add shadowban self test
- add init and -it to docker runs
This commit is contained in:
Michael C
2023-02-20 15:56:08 -05:00
parent 81b0c27180
commit c586c9a7e7
3 changed files with 64 additions and 2 deletions

View File

@@ -9,8 +9,8 @@
"cover:report": "nyc report",
"dev": "nodemon",
"dev:bash": "nodemon -x 'npm test ; npm start'",
"postgres:docker": "docker run --rm -p 5432:5432 -e POSTGRES_USER=ci_db_user -e POSTGRES_PASSWORD=ci_db_pass postgres:14-alpine",
"redis:docker": "docker run --rm -p 6379:6379 redis:7-alpine --save '' --appendonly no",
"postgres:docker": "docker run --init -it --rm -p 5432:5432 -e POSTGRES_USER=ci_db_user -e POSTGRES_PASSWORD=ci_db_pass postgres:14-alpine",
"redis:docker": "docker run --init -it --rm -p 6379:6379 redis:7-alpine --save '' --appendonly no",
"start": "ts-node src/index.ts",
"tsc": "tsc -p tsconfig.json",
"lint": "eslint src test",