tokenbridge/commons/test/constants.test.js
2019-09-18 22:45:13 +03:00

13 lines
378 B
JavaScript

const { expect } = require('chai')
const { BRIDGE_MODES, ERC_TYPES } = require('../constants')
describe('constants', () => {
it('should contain correct number of bridge types', () => {
expect(Object.keys(BRIDGE_MODES).length).to.be.equal(5)
})
it('should contain correct number of erc types', () => {
expect(Object.keys(ERC_TYPES).length).to.be.equal(2)
})
})