difftreelog
Style fixed
in: master
2 files changed
tests/src/approve.test.tsdiffbeforeafterboth24} from './util/helpers';24} from './util/helpers';252526chai.use(chaiAsPromised);26chai.use(chaiAsPromised);27const expect = chai.expect;282729describe('Integration Test approve(spender, collection_id, item_id, amount):', () => {28describe('Integration Test approve(spender, collection_id, item_id, amount):', () => {30 let alice: IKeyringPair;29 let alice: IKeyringPair;tests/src/inflation.test.tsdiffbeforeafterboth--- a/tests/src/inflation.test.ts
+++ b/tests/src/inflation.test.ts
@@ -25,7 +25,7 @@
const totalActualInflation = blockInflation * YEAR / blockInterval;
const tolerance = 0.00001; // Relative difference per year between theoretical and actual inflation
- let expectedInflation = totalExpectedInflation / totalActualInflation - 1n;
+ const expectedInflation = totalExpectedInflation / totalActualInflation - 1n;
expect(Math.abs(Number(expectedInflation))).to.be.lessThanOrEqual(tolerance);
});