From 21f75143fd27b969747eaf0a117167ad16f844ce Mon Sep 17 00:00:00 2001 From: epiqueras Date: Wed, 28 Feb 2018 10:56:42 -0800 Subject: [PATCH] test(kleros): define undefined vars --- jest.config.js | 1 - tests/kleros.test.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/jest.config.js b/jest.config.js index 826d891..735d06a 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,5 @@ module.exports = { testEnvironment: 'node', - verbose: true, collectCoverage: true, collectCoverageFrom: ['src/**/*.js', '!**/node_modules/**'] } diff --git a/tests/kleros.test.js b/tests/kleros.test.js index 15e1a85..42b986a 100644 --- a/tests/kleros.test.js +++ b/tests/kleros.test.js @@ -156,8 +156,8 @@ describe('Kleros', () => { const mockHash = 'mock-hash-contract' const mockTimeout = 1 const mockArbitratorExtraData = '' - const mockEmail = 'test@kleros.io' const mockTitle = 'test title' + const mockName = 'test name' const mockDescription = 'test description' const contractPaymentAmount = KlerosInstance._web3Wrapper.toWei( 1, @@ -424,8 +424,8 @@ describe('Kleros', () => { const mockTimeout = 1 const mockArbitratorExtraData = '' const mockEmail = 'test@kleros.io' - const mockName = 'test name' const mockTitle = 'test title' + const mockDescription = 'test description' const contractPaymentAmount = KlerosInstance._web3Wrapper.toWei( 1, 'ether'