ckb-cell / rgbpp-sdk

Utilities for Bitcoin and RGB++ asset integration
ISC License
53 stars 15 forks source link

test(service): skip dust_satoshi check in tests #203

Closed ShookLyngs closed 1 month ago

ShookLyngs commented 1 month ago

Changes

Mocking

One suggestion is that the requests in the unit tests should be mocked, so the changes to the btc-assets-api won't affect the tests of the rgbpp-sdk, nor will the rgbpp-sdk be affected by the networking conditions or otherwise. However, when developers wish to check the status of the service via the tests, an on-off switch option may also be required.