1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00

fix: make unit test target work (#2082)

This makes `yarn test:unit` work
This commit is contained in:
Gard Rimestad 2022-09-26 12:30:10 +02:00 committed by GitHub
parent aa589b5ff5
commit 17d1d2288c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@
"build": "yarn run copy-templates && tsc --pretty",
"prepare": "node scripts/husky-install && cd frontend && yarn && cd .. && yarn run build",
"test": "NODE_ENV=test PORT=4243 jest",
"test:unit": "NODE_ENV=test PORT=4243 jest --testPathIgnorePatterns=src/test/e2e/**",
"test:unit": "NODE_ENV=test PORT=4243 jest --testPathIgnorePatterns=src/test/e2e --testPathIgnorePatterns=dist",
"test:docker": "./scripts/docker-postgres.sh",
"test:docker:cleanup": "docker rm -f unleash-postgres",
"test:watch": "yarn test --watch",