node.js - ผลลัพธ์ความครอบคลุมของการทดสอบลดลงหลังจากอัปเกรดเป็น jest 26
ฉันเพิ่งดึงเวอร์ชัน jest ล่าสุดมาใช้ในโปรเจกต์ node/typescript และการครอบคลุมการทดสอบ 100% ก่อนหน้านี้ของเราก็ลดลงมาก
มีผลการครอบคลุม 25 รายการ (หลังจากการเปลี่ยนแปลงเล็กน้อย):
Jest: "global" coverage threshold for statements (100%) not met: 99.83%
Jest: "global" coverage threshold for branches (100%) not met: 99.05%
Jest: "global" coverage threshold for lines (100%) not met: 99.81%
ผลลัพธ์การครอบคลุมของ jest 26:
Jest: "global" coverage threshold for statements (100%) not met: 84.21%
Jest: "global" coverage threshold for branches (100%) not met: 68.02%
Jest: "global" coverage threshold for lines (100%) not met: 94.25%
Jest: "global" coverage threshold for functions (100%) not met: 86.44%
ฉันสนใจมากที่จะได้ยินจากใครก็ตามที่มีมุมมองเกี่ยวกับสาเหตุของการเปลี่ยนแปลง ฉันไม่ได้เห็นอะไรที่โดดเด่นในบันทึกการอัปเดต