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

chore: improves tests config and structure #2691

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

Conversation

Guilera
Copy link
Collaborator

@Guilera Guilera commented Feb 18, 2025

What's the purpose of this pull request?

  • to improves jest config for all packages
  • to adds unit testing to pakcage/api

How it works?

on package api now there is 2 folders for testing:

  • unit/, for unit tests,
  • integration/ for integration tests

How to test it?

you can run on root folder:

npm test

or you can run the specific scripts for the api:

Unit tests

npm run test:unit

Unit tests with coverage

npm run test:unitc

Integration tests

npm run test:int

Integration tests with coverage

npm run test:intc

@Guilera Guilera requested a review from a team as a code owner February 18, 2025 15:49
@Guilera Guilera requested review from renatamottam and lucasfp13 and removed request for a team February 18, 2025 15:49
Copy link

codesandbox-ci bot commented Feb 18, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

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