Skip to content

Commit 8e0eb52

Browse files
committed
docs(readme): update coverage badge to reflect accurate measurement
Update test coverage badge from red to orange (36.76%) to accurately reflect current coverage measurement of compiled dist/ JavaScript files. Coverage measures execution of compiled distribution files rather than TypeScript sources due to architectural constraints with package.json exports resolving to dist/. The 36.76% represents actual code coverage of the library's distributed code. Total test suite: 5,251 tests passing (5,153 unit + 98 integration) Type coverage: 97.68%
1 parent c960dc3 commit 8e0eb52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketsecurity/lib)](https://socket.dev/npm/package/@socketsecurity/lib)
44
[![CI](https://github.com/SocketDev/socket-lib/actions/workflows/ci.yml/badge.svg)](https://github.com/SocketDev/socket-lib/actions/workflows/ci.yml)
5-
![Test Coverage](https://img.shields.io/badge/test--coverage-68.17%25-yellow)
5+
![Test Coverage](https://img.shields.io/badge/test--coverage-36.76%25-orange)
66
![Type Coverage](https://img.shields.io/badge/type--coverage-97.68%25-brightgreen)
77

88
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

0 commit comments

Comments
 (0)