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

Commit

Permalink
Eslint fixings and test adaption
Browse files Browse the repository at this point in the history
  • Loading branch information
reyraa committed Sep 7, 2017
1 parent f69a542 commit b566922
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/actions/account.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { errorAlertDialogDisplayed } from './dialog';
import * as accountApi from '../utils/api/account';
import * as delegateApi from '../utils/api/delegate';
import Fees from '../constants/fees';
import { toRawLsk } from '../utils/lsk';

describe('actions: account', () => {
describe('accountUpdated', () => {
Expand Down Expand Up @@ -188,8 +189,9 @@ describe('actions: account', () => {
senderPublicKey: 'test_public-key',
senderId: 'test_address',
recipientId: data.recipientId,
amount: data.amount,
amount: toRawLsk(data.amount),
fee: Fees.send,
type: 0,
};

actionFunction(dispatch);
Expand Down
6 changes: 5 additions & 1 deletion src/components/tabs/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ const Tabs = props => (
onChange={navigate.bind(this, props.history)}
className={`${styles.tabs} main-tabs`}>
{getTabs(props.isDelegate).map((tab, index) =>
<Tab key={index} label={tab} className={styles.tab} disabled={isCurrent(props.history, index)} />)}
<Tab
key={index}
label={tab}
className={styles.tab}
disabled={isCurrent(props.history, index)} />)}
</ToolboxTabs>
);

Expand Down

0 comments on commit b566922

Please sign in to comment.