Closed aklenik closed 2 years ago
const result = valueProvider.generateValue();
expect(result)...
Resolved!
1. Non-functional issues
const result = valueProvider.generateValue();
is enough, and thenexpect(result)...
. Same goes for other test cases. https://github.com/bistaastha/caliper/blob/78dad7370c91626fa613df695a6b27ccc056ffec/packages/caliper-core/test/worker/workload/declarative/value-providers/uniform-random-value-provider.test.js#L65-L712. Small issues/enhancements