Skip to content

Conversation

MasterBrian99
Copy link
Contributor

@MasterBrian99 MasterBrian99 commented Aug 19, 2025

  • add testcontainers for postgres setup
  • add auth and user test cases
  • postgres container initialize happen seperate file
  • add e2e test setup for workflow file


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

@kasvith kasvith merged commit 663328e into wavezync:main Sep 4, 2025
1 check passed
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