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

[IDP-1643] Add test #9

Merged
merged 6 commits into from
Jul 4, 2024
Merged

[IDP-1643] Add test #9

merged 6 commits into from
Jul 4, 2024

Conversation

tjosepo
Copy link
Member

@tjosepo tjosepo commented Jul 2, 2024

Description of changes

Add basic tests to the project using the vitest test runner.

Right now, all the tests are end-to-end tests because @workleap/create-schemas only exposes the CLI. Ideally, the architecture of @workleap/create-schemas would allow for unit testing, but that can happen later.

@tjosepo tjosepo requested a review from a team as a code owner July 2, 2024 19:43
heqianwang
heqianwang previously approved these changes Jul 3, 2024
packages/create-schemas/tests/e2e.test.ts Show resolved Hide resolved
packages/create-schemas/tests/fixtures.ts Outdated Show resolved Hide resolved
heqianwang
heqianwang previously approved these changes Jul 3, 2024
@tjosepo
Copy link
Member Author

tjosepo commented Jul 3, 2024

Rebased to resolve merge conflict

@tjosepo tjosepo merged commit 3c01619 into main Jul 4, 2024
2 checks 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.

3 participants