Skip to content

chore: add unit tests(jest)#174

Draft
aladdin-add wants to merge 2 commits into
mainfrom
jest
Draft

chore: add unit tests(jest)#174
aladdin-add wants to merge 2 commits into
mainfrom
jest

Conversation

@aladdin-add
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

KFlash commented Aug 16, 2021

can it be re-factored?

@aladdin-add
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants