--- 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); });