fix tests

This commit is contained in:
Alexey 2020-08-12 12:53:43 +03:00
parent 4f346472c3
commit d3b942fdc7

@ -33,9 +33,9 @@ describe('fetchGasPricesOffChain', function () {
gas.standard.should.be.a('number'); gas.standard.should.be.a('number');
gas.low.should.be.a('number'); gas.low.should.be.a('number');
gas.instant.should.be.above(gas.fast); gas.instant.should.be.at.least(gas.fast); // greater than or equal to the given number.
gas.fast.should.be.above(gas.standard); gas.fast.should.be.at.least(gas.standard);
gas.standard.should.be.above(gas.low); gas.standard.should.be.at.least(gas.low);
gas.low.should.not.be.equal(0); gas.low.should.not.be.equal(0);
}); });
@ -105,9 +105,9 @@ describe('gasPrice', function () {
gas.standard.should.be.a('number'); gas.standard.should.be.a('number');
gas.low.should.be.a('number'); gas.low.should.be.a('number');
gas.instant.should.be.above(gas.fast); gas.instant.should.be.at.least(gas.fast);
gas.fast.should.be.above(gas.standard); gas.fast.should.be.at.least(gas.standard);
gas.standard.should.be.above(gas.low); gas.standard.should.be.at.least(gas.low);
gas.low.should.not.be.equal(0); gas.low.should.not.be.equal(0);
}); });
it('should fallback', async function () { it('should fallback', async function () {