Skip to content
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

1168: Add test setup #5

Merged
merged 11 commits into from
May 22, 2024
Merged

1168: Add test setup #5

merged 11 commits into from
May 22, 2024

Conversation

9inpachi
Copy link
Collaborator

  • Added test setup using jest.
  • Create setup for mocking clients and requests for testing.
  • Added test for PufferClient.

package.json Show resolved Hide resolved
Copy link
Contributor

@guestn guestn left a comment

Choose a reason for hiding this comment

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

well done on the mocks

tsconfig.json Show resolved Hide resolved
lib/errors/base-error.ts Outdated Show resolved Hide resolved
@9inpachi 9inpachi requested a review from guestn May 22, 2024 15:50
@9inpachi 9inpachi changed the title Add test setup 1168: Add test setup May 22, 2024
Copy link
Contributor

@guestn guestn left a comment

Choose a reason for hiding this comment

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

🚢

@9inpachi 9inpachi merged commit 9708f49 into main May 22, 2024
1 check passed
@9inpachi 9inpachi deleted the 1168/tests-setup branch May 28, 2024 09:04
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