git.delta.rocks / unique-network / refs/commits / bd453421277c

difftreelog

Style fixed

str-mv2021-11-26parent: #8f9861a.patch.diff
in: master

2 files changed

modifiedtests/src/approve.test.tsdiffbeforeafterboth
24} from './util/helpers';24} from './util/helpers';
2525
26chai.use(chaiAsPromised);26chai.use(chaiAsPromised);
27const expect = chai.expect;
2827
29describe('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;
modifiedtests/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);
     });