Page MenuHomePhabricator

[Cashtab] Better tests for opreturn target output generating functions
ClosedPublic

Authored by bytesofman on Jun 17 2024, 16:25.

Details

Summary

Unit tests should match the exact expected output. Neglected previously as did not realize could do it easily enough (while maintaining an easy-to-read hex string for the desired OP_RETURN) by generating the Buffer in the mocks.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable