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: add unit tests(jest) #174

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

chore: add unit tests(jest) #174

wants to merge 2 commits into from

Conversation

aladdin-add
Copy link
Collaborator

@aladdin-add aladdin-add commented Aug 16, 2021

todo: add jest coverage

@aladdin-add aladdin-add marked this pull request as draft August 16, 2021 04:12
@KFlash
Copy link
Contributor

KFlash commented Aug 16, 2021

jest seems like an good solution, but maybe easier if you extend existing test runner to do the same things as Jest? Same functionality?

@aladdin-add
Copy link
Collaborator Author

but the current test cli was not to be a general testing framework, it was only to test the snapshots for kataw.

@KFlash
Copy link
Contributor

KFlash commented Aug 16, 2021

can it be re-factored?

@aladdin-add
Copy link
Collaborator Author

oc, it can be. but I did not see its value - to rewrite the functionality that jest/mocha has been implemented.

IMHO, a more reasonable way is to deprecate the test cli, migrate to jest/mocha snapshots.

@KFlash
Copy link
Contributor

KFlash commented Aug 17, 2021

the whole point with kataw is not to depend 3rd libs in the end. deprecating isn't an option

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.

None yet

2 participants