Update unit tests for hash fns

refactor: update unit tests for hash fns
Update unit tests for hash fnsrefactorupdate unit tests hash fns

Committed by jsjoeio

commit message
refactor: update unit tests for hash fns

Since the hash and isHashMatch are now async, I had to update the tests
accordingly. Now everything is working.

Editor assessment

`refactor: update unit tests for hash fns` states the tests and the functions concerned, and the body supplies the reason: the hash functions became asynchronous, so the tests had to be updated, and they now pass. That causal note is exactly the context a test-sync change needs. The refactor-versus-test type debate is not scored, and the communication is clear. Imperative verb, no trailing period, tidy, no junk. Understandable and motivated: a publishable example with a minor terseness.

Browse categories

More refactor examples · Back to search