This is a nice to have. Currently in some of our test for substrate we have a lot of repetitive code mocking the ApiPromise instance. It could be good for readability purposes to have a global mocked instance of ApiPromise to which we pass the parameters from the test.
Implementation details
Improve code on current test:
mock ApiPromise as module to avoid repeating into the test
This is a nice to have. Currently in some of our test for substrate we have a lot of repetitive code mocking the ApiPromise instance. It could be good for readability purposes to have a global mocked instance of ApiPromise to which we pass the parameters from the test.
Implementation details
Improve code on current test:
Testing details
Acceptance Criteria
QA Details