From 3b57aefc0b4452f8a7295f965bc56bc2507d3909 Mon Sep 17 00:00:00 2001 From: Gina Contrino Date: Thu, 12 Oct 2017 17:20:47 +0200 Subject: [PATCH] Fix breaking test due to missing i18n --- src/components/proxyDialog/index.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/proxyDialog/index.test.js b/src/components/proxyDialog/index.test.js index 8c7cf18c4..1a227d9f2 100644 --- a/src/components/proxyDialog/index.test.js +++ b/src/components/proxyDialog/index.test.js @@ -2,7 +2,7 @@ import React from 'react'; import { expect } from 'chai'; import { mount } from 'enzyme'; import { spy, mock } from 'sinon'; - +import i18n from '../../i18n'; import ProxyDialog from './'; describe('ProxyDialog', () => { @@ -14,6 +14,7 @@ describe('ProxyDialog', () => { callback: spy(), closeDialog: spy(), authInfo: { host: 'someProxy.com' }, + i18n, }; wrapper = mount(); });