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

尝试使用 jest #1680

Closed
2 tasks
popomore opened this issue Nov 17, 2017 · 6 comments
Closed
2 tasks

尝试使用 jest #1680

popomore opened this issue Nov 17, 2017 · 6 comments

Comments

@popomore
Copy link
Member

popomore commented Nov 17, 2017

如果使用 jest,前后端就可以一套测试工具了,先记录问题

待确认

  • power-assert 好像不能用
  • 多进程覆盖率
@popomore popomore changed the title 尝试使用使用 jest 尝试使用 jest Nov 17, 2017
@dead-horse
Copy link
Member

power-assert 好像不能用了

@okoala
Copy link
Member

okoala commented Nov 20, 2017

power-assert-js/power-assert#93
我看到这条 issue,貌似有人已经在用了 power-assert + jest 了

@Godi13
Copy link

Godi13 commented Feb 2, 2018

@dead-horse 需要配合 babel-preset-power-assert 配置下 .babelrc

@wangxuepeng
Copy link

Eggjs is great, if Jest can be used in tests, it'll become awesome!

@popomore
Copy link
Member Author

@whxaxes 是不是可以关了

@whxaxes
Copy link
Member

whxaxes commented Feb 20, 2019

@popomore 可以了,我关掉

@whxaxes whxaxes closed this as completed Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants