fix data path for test

This commit is contained in:
LouisLam 2021-10-03 18:18:47 +08:00
parent a2a4c70cf5
commit 37d1e50ff1

View file

@ -20,7 +20,7 @@
"start-server": "node server/server.js",
"start-server-dev": "cross-env NODE_ENV=development node server/server.js",
"build": "vite build",
"prepare-test": "npm run build && node server/server.js --port=3002 --data-dir=./data/test",
"prepare-test": "npm run build && node server/server.js --port=3002 --data-dir=./data/test/",
"test": "jest",
"tsc": "tsc",
"vite-preview-dist": "vite preview --host",