From bd453421277c4dee92646a2a25c8af80f5831ce9 Mon Sep 17 00:00:00 2001 From: str-mv Date: Fri, 26 Nov 2021 09:41:02 +0000 Subject: [PATCH] Style fixed --- --- a/tests/src/approve.test.ts +++ b/tests/src/approve.test.ts @@ -24,7 +24,6 @@ } from './util/helpers'; chai.use(chaiAsPromised); -const expect = chai.expect; describe('Integration Test approve(spender, collection_id, item_id, amount):', () => { let alice: IKeyringPair; --- 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); }); -- gitstuff