update tests

This commit is contained in:
Dmitriynj
2020-12-14 23:54:51 +03:00
committed by Daniel Hutzel
parent 145becb1c4
commit cb71e2ed9b
5 changed files with 340 additions and 48 deletions

View File

@@ -23,7 +23,7 @@
"scripts": {
"start": "npx cds run",
"deploy": "cds deploy --to sqlite:mychinook.db",
"test": "mocha test/media-store.test.js --verbose --timeout 10000"
"test": "npm run deploy && cd ../ && npm run jest"
},
"cds": {
"ACCESS_TOKEN_SECRET": "secret",