GrowGen | 整

jest 报警 exceedsMaxOf500KB

J.Gong

2019-02-19

0.2min

jest 报警 exceedsMaxOf500KB

已经工作快半年了,做个小记录,jest测试的时候偶尔会报lodash exceeds the max of 500KB错误。

查了很多配置,应该是coverage哪里的问题,在coveragePathIgnorePatterns里面忽略<rootDir>/node_modules/即可。

J.Gong

相关文章

Tags

fe

© 2025 我的技术博客. 保留所有权利.

使用 Astro.build + Mantine 构建 | 部署在 Vercel