我司编写Angular单元测试的一些非正式规范

126 阅读1分钟

pull request title一定要加上feat的前缀:

before:

after:


in test you should do it like that
16:13
variables are seperate
16:13
any function etc are separate
16:13
and expects are separate
16:14
it’s easier to read the code this way

要获取更多Jerry的原创文章,请关注公众号"汪子熙":