fix data path for test

pull/542/head
LouisLam 3 years ago
parent a2a4c70cf5
commit 37d1e50ff1

@ -20,7 +20,7 @@
"start-server": "node server/server.js", "start-server": "node server/server.js",
"start-server-dev": "cross-env NODE_ENV=development node server/server.js", "start-server-dev": "cross-env NODE_ENV=development node server/server.js",
"build": "vite build", "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", "test": "jest",
"tsc": "tsc", "tsc": "tsc",
"vite-preview-dist": "vite preview --host", "vite-preview-dist": "vite preview --host",

Loading…
Cancel
Save