Skip to content
Permalink
Browse files

fix: improper capitalization on imports

  • Loading branch information...
satello committed Mar 29, 2018
1 parent eeadce1 commit 2ff95b8ee6279227919c08576b65bceaaa3ba779
@@ -65,25 +65,25 @@ describe('Contracts', () => {
expect(contractInstance).toBeTruthy()
expect(contractInstance.address).toEqual(newKlerosPOC.address)
})
// it('load throws with bad address', async () => {
// const KlerosInstance = new Kleros(undefined, provider)
// // deploy KlerosPOC with no PNK or RNG
// const newKlerosPOC = await KlerosInstance.arbitrator.deploy(
// '',
// '',
// klerosPOCData.timesPerPeriod,
// klerosPOCData.account,
// klerosPOCData.value
// )
//
// expect(newKlerosPOC.address).toBeTruthy()
//
// try {
// await KlerosInstance.arbitrator.setArbitrator('badAddress')
// } catch (err) {
// expect(err.message).toEqual(errorConstants.UNABLE_TO_LOAD_ARBITRATOR)
// }
// })
it('load throws with bad address', async () => {
const KlerosInstance = new Kleros(undefined, provider)
// deploy KlerosPOC with no PNK or RNG
const newKlerosPOC = await KlerosInstance.arbitrator.deploy(
'',
'',
klerosPOCData.timesPerPeriod,
klerosPOCData.account,
klerosPOCData.value
)

expect(newKlerosPOC.address).toBeTruthy()

try {
await KlerosInstance.arbitrator.setArbitrator('badAddress')
} catch (err) {
expect(err.message).toEqual(errorConstants.UNABLE_TO_LOAD_ARBITRATOR)
}
})
it('setArbitrator throws with undefined parameters', async () => {
const KlerosInstance = new Kleros(undefined, provider)
// deploy KlerosPOC with no PNK or RNG
@@ -1,5 +1,5 @@
import ArbitrableContractApi from '../../../src/abstractWrappers/ArbitrableContracts'
import ArbitrableTransaction from '../../../src/contractWrappers/ArbitrableContracts/ArbitrableTransaction'
import ArbitrableContractApi from '../../../src/abstractWrappers/arbitrableContracts'
import ArbitrableTransaction from '../../../src/contractWrappers/arbitrableContracts/ArbitrableTransaction'
import _asyncMockResponse from '../../helpers/asyncMockResponse'

describe('ArbitrableContract', async () => {
@@ -1,5 +1,5 @@
import ArbitratorApi from '../../../src/abstractWrappers/Arbitrator'
import KlerosPOC from '../../../src/contractWrappers/Arbitrator/KlerosPOC'
import ArbitratorApi from '../../../src/abstractWrappers/arbitrator'
import KlerosPOC from '../../../src/contractWrappers/arbitrator/KlerosPOC'
import _asyncMockResponse from '../../helpers/asyncMockResponse'

describe('Arbitrator', () => {

0 comments on commit 2ff95b8

Please sign in to comment.
You can’t perform that action at this time.