gas-price-oracle/tests/index.test.ts
2020-05-27 18:52:57 +03:00

11 lines
299 B
TypeScript

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