From d3b942fdc7cb3999b5a0686775b02357084a65e9 Mon Sep 17 00:00:00 2001 From: Alexey Date: Wed, 12 Aug 2020 12:53:43 +0300 Subject: [PATCH] fix tests --- tests/index.test.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/index.test.ts b/tests/index.test.ts index 27feacd..0b18533 100644 --- a/tests/index.test.ts +++ b/tests/index.test.ts @@ -33,9 +33,9 @@ describe('fetchGasPricesOffChain', function () { gas.standard.should.be.a('number'); gas.low.should.be.a('number'); - gas.instant.should.be.above(gas.fast); - gas.fast.should.be.above(gas.standard); - gas.standard.should.be.above(gas.low); + gas.instant.should.be.at.least(gas.fast); // greater than or equal to the given number. + gas.fast.should.be.at.least(gas.standard); + gas.standard.should.be.at.least(gas.low); gas.low.should.not.be.equal(0); }); @@ -105,9 +105,9 @@ describe('gasPrice', function () { gas.standard.should.be.a('number'); gas.low.should.be.a('number'); - gas.instant.should.be.above(gas.fast); - gas.fast.should.be.above(gas.standard); - gas.standard.should.be.above(gas.low); + gas.instant.should.be.at.least(gas.fast); + gas.fast.should.be.at.least(gas.standard); + gas.standard.should.be.at.least(gas.low); gas.low.should.not.be.equal(0); }); it('should fallback', async function () {