mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +01:00
15 lines
448 B
JavaScript
15 lines
448 B
JavaScript
const assert = require('assert')
|
|
const TxGasUtils = require('../../app/scripts/lib/tx-gas-utils')
|
|
const { createTestProviderTools } = require('../stub/provider')
|
|
|
|
describe('Tx Gas Util', function () {
|
|
let txGasUtil, provider, providerResultStub
|
|
beforeEach(function () {
|
|
providerResultStub = {}
|
|
provider = createTestProviderTools({ scaffold: providerResultStub }).provider
|
|
txGasUtil = new TxGasUtils({
|
|
provider,
|
|
})
|
|
})
|
|
})
|