2019-07-11 15:46:52 +02:00
|
|
|
const { expect } = require('chai')
|
|
|
|
const { BRIDGE_MODES, ERC_TYPES } = require('../constants')
|
|
|
|
|
|
|
|
describe('constants', () => {
|
|
|
|
it('should contain correct number of bridge types', () => {
|
2020-05-18 17:36:52 -03:00
|
|
|
expect(Object.keys(BRIDGE_MODES).length).to.be.equal(7)
|
2019-07-11 15:46:52 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
it('should contain correct number of erc types', () => {
|
|
|
|
expect(Object.keys(ERC_TYPES).length).to.be.equal(2)
|
|
|
|
})
|
|
|
|
})
|