Tests are passing and ran linter

This commit is contained in:
Greg Hysen
2019-09-16 16:02:50 -07:00
parent f9163ccc01
commit e1d51bae73
5 changed files with 48 additions and 34 deletions

View File

@@ -35,11 +35,7 @@ blockchainTests.resets('Cumulative Reward Tracking', env => {
describe('Tracking Cumulative Rewards (CR)', () => {
it('should set CR hen a pool is created is epoch 0', async () => {
await simulation.runTestAsync(
[],
[TestAction.CreatePool],
[{ event: 'SetCumulativeReward', epoch: 0 }],
);
await simulation.runTestAsync([], [TestAction.CreatePool], [{ event: 'SetCumulativeReward', epoch: 0 }]);
});
it('should set CR and Most Recent CR when a pool is created in epoch >0', async () => {
await simulation.runTestAsync(