Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Update authenticate.test to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Nov 21, 2017
1 parent ed0178d commit 095f80a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/authenticate/authenticate.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';
import { expect } from 'chai';
import { mount } from 'enzyme';
import configureStore from 'redux-mock-store';
import i18next from 'i18next';
import PropTypes from 'prop-types';
import { spy } from 'sinon';
import ActionBar from '../actionBar';
Expand Down Expand Up @@ -40,7 +41,7 @@ describe('Authenticate', () => {
props = {
account,
peers,
t: str => str,
t: (str, opts) => i18next.t(str, opts),
nextAction: 'perform a sample action',
closeDialog: spy(),
accountUpdated: spy(),
Expand Down

0 comments on commit 095f80a

Please sign in to comment.