Closed
Description
- Currently unit tests written partially in typescript and partially in javascript, personally - it's confusing. Is there any reason why it's like that?
- Unit tests runs on built version only - before each test we have to run build. It's really hard to test first. I understand why it's done like this, but since we're using stable tools (Rollup+Bublé) we can use source files to test?
- Test tools still outdated. I'm using WebStorm, but it does not support
jest
so I tried to use Visual Studio Code with jest extension and it gave me "This extension relies on Jest 18+ features, it will work, but the highlighting may not work correctly." error.
I stated working on #742 to make life easier for new contributors. (As for myself #806 (comment)).
But now I'm struggling with testing my code.
Current status:
- Lint tests (Lint tests - attempt 2. #1140)
- Add tests for Typescript definitions ([WIP] Implement dtslint #1198)
- Run tests against
src
directory (depends on Provide an es import compatible build #1044)