diff --git a/frontend/jest.config.js b/frontend/jest.config.js index 930078f..e9948cc 100644 --- a/frontend/jest.config.js +++ b/frontend/jest.config.js @@ -3,6 +3,7 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig-test.json', + packageJson: 'package.json', }, API_URL: 'wss://api.url', }, diff --git a/package.json b/package.json index fb5924a..ed68d20 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "start": "cd frontend && vite", "preview": "npm run build:frontend && cd frontend && vite preview", - "test": "npx jest --config frontend/jest.config.js", + "test": "jest --config frontend/jest.config.js", "build": "run-p build:backend build:frontend", "lint": "prettier . --write", "prepare": "husky install",