mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
Refactoring pg-virtualenv-test
This commit is contained in:
parent
fc90606287
commit
ffe6e58d65
@ -23,7 +23,7 @@
|
||||
"test": "export PORT=4243 ; jest && jshint server.js lib test && jsxhint public/js/**/*.jsx && mocha test test/*.js && npm run coverage",
|
||||
"docker-test": "export PORT=4243 ; ./scripts/docker-postgres.sh",
|
||||
"pg-virtualenv-test": "pg_virtualenv npm run pg-virtualenv-chain",
|
||||
"pg-virtualenv-chain": "export TEST_DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@localhost:$PGPORT/postgres ; npm run db-migrate-testdb ; npm test",
|
||||
"pg-virtualenv-chain": "export TEST_DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@localhost:$PGPORT/postgres ; npm run db-migrate-testdb && npm test",
|
||||
"db-migrate-testdb": "DATABASE_URL=$TEST_DATABASE_URL ./node_modules/.bin/db-migrate up",
|
||||
"tdd": "mocha --watch test test/*",
|
||||
"test-bamboo-ci": "mocha test test/*",
|
||||
|
Loading…
Reference in New Issue
Block a user