Like setting up a real kitchen for a cooking test — not a model kitchen, actual stoves and pans.
beforeAll creates the app and runs migrations against a test database. afterAll tears down connections. Integration tests use real infrastructure.
> Running migrations on test DB > Connected to postgresql://localhost/test_db > Test suite ready
Like setting up a real kitchen for a cooking test — not a model kitchen, actual stoves and pans.
beforeAll creates the app and runs migrations against a test database. afterAll tears down connections. Integration tests use real infrastructure.
> Running migrations on test DB > Connected to postgresql://localhost/test_db > Test suite ready
Sign in to cast your vote
Sign in to share your feedback and join the discussion.