Skip to content

Commit

Permalink
[refactor] Lint key actions and reducers tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
seland committed Mar 17, 2018
1 parent 4402056 commit 2b58d14
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions __tests__/src/actions/key.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {
import { KEY_LENGTH } from '../../../src/global/Constants';

describe('key action creators', () => {

const mockMnemonic = new Array(KEY_LENGTH).fill('abc');

test('createPrivateKey', () => {
Expand Down Expand Up @@ -77,5 +76,4 @@ describe('key action creators', () => {
mnemonic: mockMnemonic,
});
});

});
4 changes: 0 additions & 4 deletions __tests__/src/reducers/key.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@ import {
changeMnemonicValid,
createPrivateKey,
mnemonicCreated,
removeAllPrivateKeys,
removePrivateKey,
savePrivateKey,
validateEnteredMnemonic,
} from '../../../src/actions/key';
import { KEY_LENGTH } from '../../../src/global/Constants';

describe('key reducer action handling', () => {

const mockMnemonic = new Array(KEY_LENGTH).fill('abc');

test('createPrivateKey', () => {
Expand Down Expand Up @@ -83,5 +80,4 @@ describe('key reducer action handling', () => {
testSetToValue(false);
});
});

});

0 comments on commit 2b58d14

Please sign in to comment.