gas-price-oracle/tests/index.test.ts

11 lines
299 B
TypeScript
Raw Normal View History

2020-05-27 18:52:57 +03:00
import { GasPriceOracle } from '../src/index';
import { GasPrice } from '../src/types';
describe('Get gas price', function () {
it('should work', async function () {
const oracle = new GasPriceOracle();
const gas: GasPrice = await oracle.fetchGasPrices();
console.log(gas);
});
});