How can I run unit tests?
okmttdhr opened this issue · comments
I found some unit tests in this repository, but I couldn't find how to run tests with npm scripts
nor gulp
. How can I run and add tests when I would like to contribute? I'd appreciate your reply. 🙇
It's the test we wrote in past versions, unfortunately we don't have any tests for latest version...
I'd like to write a test, however I feel that it is difficult to test what to test. I'm not familiar with a testing😂
Are there any good ideas?
It seems that it can be possible to write tests as your past versions did (I created just a sample pull request #103 ) ðŸ’
And we can follow the Single Responsibility Principle for the what to test
problem, I think.
(It's easier said than done though..)
I just merged @okmttdhr 's PRs. Thank you.