npm run test
KARMA_SPEC='**/d3-overview-graph.test.js' npm run test:single
Redux base model:
{
blockchain: {
transactions: [],
utxos: [],
}
}
There is the possibility of using test data. One way is filling the redux store directly with the test data.
Another way is mocking the 'api' to provide the test data objects.
const api = createApiMock(basicTestData);
Redux model of application - global state
Processing modules:
- API.
- Generation of the redux model.
User Interface:
- Graphs (overview, detailed)
- Widgets
Utility files