Consensys / linea-attestation-registry

Verax is a shared registry for storing attestations of public interest on EVM chains, designed to enhance data discoverability and consumption for dApps across the network.
https://ver.ax
MIT License
132 stars 69 forks source link

chore(sdk): Add unit tests for the subgraph calls on the SDK #749

Closed satyajeetkolhapure closed 1 week ago

satyajeetkolhapure commented 2 weeks ago

What does this PR do?

Unit tests are added in SDK for utils and base data mapper

Related ticket

Fixes #727

Type of change

Check list

alainncls commented 2 weeks ago

@satyajeetkolhapure Can you add the unit tests files to the .npmignore file? This will avoid packaging them with the released library.

codecov-commenter commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 74.05%. Comparing base (e99f776) to head (980f6c5). Report is 34 commits behind head on dev.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #749 +/- ## =========================================== - Coverage 92.07% 74.05% -18.02% =========================================== Files 30 49 +19 Lines 492 902 +410 Branches 112 178 +66 =========================================== + Hits 453 668 +215 - Misses 39 232 +193 - Partials 0 2 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.