ionic-team / ionic-team/ionic-unit-testing-example

Discussion about Jest for unit tests

未关闭
#33 3 条评论 6 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
370
派生
144
PR 合并指标
30 天内没有已合并 PR

描述

I just added a PR #32 to have an example of working unit tests with Jest.

Maybe we could use this issue for discussion if other people are interested in making jest usable with ionic. Also maybe there are good reasons not to use Jest with ionic. I would appreciate if someone could enlighten me in this case :)

Some advantages of Jest over Karma:

- Only run tests on modified files
- Only run tests for modified files since last commit

Article about testing with Jest in angular:
https://www.xfive.co/blog/testing-angular-faster-jest/

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。