Skip to content

feat:add e2e testing initial setup #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MasterBrian99
Copy link

  • add testcontainers for postgres setup
  • add auth and user test cases


public async startPostgresContainer(): Promise<StartedPostgreSqlContainer> {
if (!TestContainerHelper.container) {
TestContainerHelper.container = await new PostgreSqlContainer(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can have multiple test containers for the project, so it would be a better approach to name this as pgInstance

@@ -0,0 +1,12 @@
const MOCK_USERS = {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test/users/mock/users.ts

@kasvith
Copy link
Collaborator

kasvith commented Aug 19, 2025

we should also update ci script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants