Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Commit

Permalink
add title contract arbitrable
Browse files Browse the repository at this point in the history
  • Loading branch information
n1c01a5 committed Feb 28, 2018
1 parent 128bd71 commit 374c243
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/kleros.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ describe('Kleros', () => {
const mockTimeout = 1
const mockArbitratorExtraData = ''
const mockEmail = 'test@kleros.io'
const mockTitle = 'test title'
const mockDescription = 'test description'
const mockPaymentAmount = KlerosInstance._web3Wrapper.toWei(1, 'ether') // contract payment be 1 ether
let contractArbitrableTransactionData = await KlerosInstance.arbitrableContract.deployContract(
Expand All @@ -86,6 +87,7 @@ describe('Kleros', () => {
partyB,
mockArbitratorExtraData,
mockEmail,
mockTitle,
mockDescription
)
expect(contractArbitrableTransactionData.address).toBeDefined() // contract address
Expand Down Expand Up @@ -155,6 +157,7 @@ describe('Kleros', () => {
const mockTimeout = 1
const mockArbitratorExtraData = ''
const mockEmail = 'test@kleros.io'
const mockTitle = 'test title'
const mockDescription = 'test description'
const contractPaymentAmount = KlerosInstance._web3Wrapper.toWei(
1,
Expand All @@ -168,7 +171,8 @@ describe('Kleros', () => {
mockTimeout,
partyB,
mockArbitratorExtraData,
mockEmail,
mockTitle,
mockName,
mockDescription
)

Expand Down Expand Up @@ -222,6 +226,7 @@ describe('Kleros', () => {
const mockTimeout = 1
const mockArbitratorExtraData = ''
const mockEmail = 'test@kleros.io'
const mockTitle = 'test title'
const mockDescription = 'test description'
const contractPaymentAmount = KlerosInstance._web3Wrapper.toWei(
1,
Expand All @@ -236,6 +241,7 @@ describe('Kleros', () => {
partyB,
mockArbitratorExtraData,
mockEmail,
mockTitle,
mockDescription
)

Expand Down Expand Up @@ -418,7 +424,8 @@ describe('Kleros', () => {
const mockTimeout = 1
const mockArbitratorExtraData = ''
const mockEmail = 'test@kleros.io'
const mockDescription = 'test description'
const mockName = 'test name'
const mockTitle = 'test title'
const contractPaymentAmount = KlerosInstance._web3Wrapper.toWei(
1,
'ether'
Expand All @@ -432,6 +439,7 @@ describe('Kleros', () => {
partyB,
mockArbitratorExtraData,
mockEmail,
mockTitle,
mockDescription
)

Expand Down

0 comments on commit 374c243

Please sign in to comment.