Files
xahau.js/test/api/getFeeRef/index.ts
2019-12-17 10:35:59 -08:00

15 lines
453 B
TypeScript

import assert from 'assert-diff'
import {TestSuite} from '../../utils'
/**
* Every test suite exports their tests in the default object.
* - Check out the "TestSuite" type for documentation on the interface.
* - Check out "test/api/index.ts" for more information about the test runner.
*/
export default <TestSuite>{
'default test': async (api, address) => {
const fee = await api.connection.getFeeRef()
assert.strictEqual(fee, 10)
}
}