Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 500 Bytes

File metadata and controls

32 lines (23 loc) · 500 Bytes

First initialize the database for testing:

docker-compose up -d

Install dependencies and build:

pnpm install
pnpm build

Seed the app_user roles used by tests:

pnpm --filter pgpm exec node dist/index.js admin-users bootstrap --yes
pnpm --filter pgpm exec node dist/index.js admin-users add --test --yes

Then you can "install" the packages need (optional):

docker exec postgres /sql-bin/install.sh

Then to run a test:

cd pgpm/core
pnpm test