cosmos / cosmjs

The Swiss Army knife to power JavaScript based client solutions ranging from Web apps/explorers over browser extensions to server-side clients like faucets/scrapers.
https://cosmos.github.io/cosmjs/
Apache License 2.0
657 stars 343 forks source link

test: add unit test for `assert` for increase coverage to 100% #1518

Closed hyperbolic-versor closed 11 months ago

hyperbolic-versor commented 11 months ago

add unit test for assert function, make @cosmjs/utils test coverage to 100%

webmaster128 commented 11 months ago

Nice, thanks. Could you run yarn && yarn lint-fix to make the linter happy?

hyperbolic-versor commented 11 months ago

Nice, thanks. Could you run yarn && yarn lint-fix to make the linter happy?

Thank you for your reminder. I forgot again. I think we can add a Git hook to check lint and unit tests before push or commit."

webmaster128 commented 11 months ago

Nah, git hooks are super annoying. CI takes care of that. Thanks!