Skip to content
Unverified Commit 908fce52 authored by Zeke Mostov's avatar Zeke Mostov Committed by GitHub
Browse files

Unit test `calc_fee`; Refactor `fetchBlock` (#187)

* Refactor partial fee calculation to make it testable

Correct name

Create mock api skeletion

save changes

refactor fetch blocks

* Add dummy header

* test createCalcFee

* More refactors of fetchBlock

* Rename constants.ts => mock.ts

* Move mockApi to mock file

* Move header to its own file

* Update commetn

* Update comment
parent ff7b5ad8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment