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

Commit

Permalink
Merge pull request #776 from LiskHQ/greenkeeper/initial
Browse files Browse the repository at this point in the history
Update dependencies to enable Greenkeeper 🌴
  • Loading branch information
slaweet authored Sep 29, 2017
2 parents aa38811 + 5027950 commit a7b94ee
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 63 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Lisk Nano

[![Greenkeeper badge](https://badges.greenkeeper.io/LiskHQ/lisk-nano.svg)](https://greenkeeper.io/)

[![Build Status](https://jenkins.lisk.io/buildStatus/icon?job=lisk-nano/development)](https://jenkins.lisk.io/job/lisk-nano/job/development)
[![Coverage Status](https://coveralls.io/repos/github/LiskHQ/lisk-nano/badge.svg?branch=development)](https://coveralls.io/github/LiskHQ/lisk-nano?branch=development)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)
Expand Down
121 changes: 64 additions & 57 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,105 +29,105 @@
"url": "https://github.com/LiskHQ/lisk-nano"
},
"dependencies": {
"bignumber.js": "=4.0.0",
"bitcore-mnemonic": "=1.1.1",
"copy-to-clipboard": "=3.0.6",
"bignumber.js": "4.0.4",
"bitcore-mnemonic": "1.2.5",
"copy-to-clipboard": "3.0.8",
"flexboxgrid": "=6.3.1",
"history": "^4.7.2",
"i18next": "^9.0.0",
"i18next-localstorage-cache": "^1.1.1",
"i18next-xhr-backend": "^1.4.2",
"lisk-js": "=0.4.5",
"moment": "=2.15.1",
"lisk-js": "0.5.0",
"moment": "2.18.1",
"numeral": "=2.0.6",
"postcss": "=6.0.2",
"postcss-cssnext": "=2.11.0",
"postcss": "6.0.12",
"postcss-cssnext": "2.11.0",
"prop-types": "=15.5.10",
"qrcode.react": "=0.7.1",
"react": "=15.6.x",
"react-animate-on-change": "^1.0.0",
"react-circular-progressbar": "=0.1.5",
"react-circular-progressbar": "0.2.1",
"react-css-themr": "=2.1.2",
"react-dom": "=15.6.x",
"react-i18next": "^5.2.0",
"react-redux": "=5.0.5",
"react-router": "=4.1.2",
"react-router-dom": "=4.1.2",
"react-redux": "5.0.6",
"react-router": "4.2.0",
"react-router-dom": "4.2.2",
"react-toolbox": "=2.0.0-beta.12",
"react-waypoint": "=7.0.4",
"redux": "=3.6.0",
"react-waypoint": "7.1.0",
"redux": "3.7.2",
"redux-logger": "=3.0.6",
"redux-thunk": "^2.2.0"
},
"devDependencies": {
"@storybook/addon-actions": "=3.2.0",
"@storybook/react": "=3.1.8",
"babel-core": "=6.20.0",
"babel-loader": "=7.0.0-beta.1",
"babel-plugin-istanbul": "=4.1.4",
"@storybook/addon-actions": "3.2.10",
"@storybook/react": "3.2.10",
"babel-core": "6.26.0",
"babel-loader": "7.1.2",
"babel-plugin-istanbul": "4.1.5",
"babel-plugin-syntax-trailing-function-commas": "=6.22.0",
"babel-preset-es2015": "=6.18.0",
"babel-preset-react": "=6.16.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-3": "=6.24.1",
"chai": "=3.5.0",
"chai-as-promised": "=6.0.0",
"chai-enzyme": "=0.6.1",
"chai": "4.1.2",
"chai-as-promised": "7.1.1",
"chai-enzyme": "0.8.0",
"css-hot-loader": "=1.3.1",
"css-loader": "=0.28.0",
"cucumber": "=2.2.0",
"del-cli": "=0.2.1",
"electron": "=1.6.2",
"electron-builder": "=16.8.3",
"enzyme": "=2.8.2",
"eslint": "=4.7.2",
"eslint-config-airbnb": "=15.1.0",
"eslint-config-google": "=0.7.1",
"eslint-loader": "=1.7.1",
"eslint-plugin-html": "=2.0.3",
"eslint-plugin-import": "=2.2.0",
"eslint-plugin-react": "=6.10.3",
"exports-loader": "=0.6.3",
"extract-text-webpack-plugin": "=2.1.2",
"file-loader": "=0.9.0",
"css-loader": "0.28.7",
"cucumber": "2.2.0",
"del-cli": "1.1.0",
"electron": "1.7.8",
"electron-builder": "19.30.2",
"enzyme": "2.9.1",
"eslint": "4.7.2",
"eslint-config-airbnb": "15.1.0",
"eslint-config-google": "0.9.1",
"eslint-loader": "1.9.0",
"eslint-plugin-html": "3.2.2",
"eslint-plugin-import": "2.7.0",
"eslint-plugin-react": "7.4.0",
"exports-loader": "0.6.4",
"extract-text-webpack-plugin": "3.0.0",
"file-loader": "0.11.2",
"glob": "=7.1.2",
"i18next-scanner": "=2.0.0",
"imports-loader": "=0.6.5",
"imports-loader": "0.7.1",
"js-nacl": "=1.2.2",
"json-loader": "=0.5.4",
"karma": "=1.7.0",
"json-loader": "0.5.7",
"karma": "1.7.1",
"karma-chai": "=0.1.0",
"karma-chrome-launcher": "=2.2.0",
"karma-coverage": "=1.1.1",
"karma-jenkins-reporter": "0.0.2",
"karma-mocha": "=1.3.0",
"karma-mocha-reporter": "=2.2.3",
"karma-mocha-reporter": "2.2.4",
"karma-sourcemap-loader": "=0.3.7",
"karma-verbose-reporter": "=0.0.6",
"karma-webpack": "=2.0.3",
"mocha": "=3.2.0",
"karma-webpack": "2.0.4",
"mocha": "3.5.3",
"postcss-for": "=2.1.1",
"postcss-loader": "=2.0.6",
"postcss-partial-import": "=4.1.0",
"postcss-reporter": "=4.0.0",
"protractor": "=5.1.1",
"protractor-cucumber-framework": "=3.1.0",
"postcss-reporter": "5.0.0",
"protractor": "5.1.2",
"protractor-cucumber-framework": "3.1.0",
"raw-loader": "=0.5.1",
"react-addons-test-utils": "=15.6.0",
"react-hot-loader": "^1.3.1",
"react-test-renderer": "=15.6.1",
"redux-mock-store": "=1.2.3",
"should": "=11.2.0",
"sinon": "=2.0.0",
"sinon-chai": "=2.8.0",
"redux-mock-store": "1.3.0",
"should": "13.1.0",
"sinon": "3.3.0",
"sinon-chai": "2.13.0",
"sinon-stub-promise": "^4.0.0",
"style-loader": "=0.16.1",
"style-loader": "0.18.2",
"stylelint": "^8.0.0",
"stylelint-config-standard": "^17.0.0",
"stylelint-webpack-plugin": "^0.9.0",
"url-loader": "=0.5.7",
"webpack": "=2.2.1",
"webpack-bundle-analyzer": "=2.4.0",
"webpack-dev-server": "=2.4.2"
"url-loader": "0.5.9",
"webpack": "3.6.0",
"webpack-bundle-analyzer": "2.9.0",
"webpack-dev-server": "2.8.2"
},
"build": {
"appId": "io.lisk.nano",
Expand All @@ -148,5 +148,12 @@
"win": {
"target": "nsis"
}
},
"greenkeeper": {
"ignore": [
"cucumber",
"protractor-cucumber-framework",
"postcss-cssnext"
]
}
}
6 changes: 3 additions & 3 deletions src/components/passphrase/passphraseVerifier.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { expect } from 'chai';
import { spy } from 'sinon';
import { mount } from 'enzyme';
import { mount, shallow } from 'enzyme';
import PassphraseVerifier from './passphraseVerifier';


Expand All @@ -25,7 +25,7 @@ describe('PassphraseVerifier', () => {
it('call updateAnswer with received value', () => {
const spyFn = spy(props, 'updateAnswer');
const value = 'sample';
const wrapper = mount(<PassphraseVerifier {...props} />);
const wrapper = shallow(<PassphraseVerifier {...props} />);
wrapper.instance().changeHandler(value);
expect(spyFn).to.have.been.calledWith();
props.updateAnswer.restore();
Expand All @@ -34,7 +34,7 @@ describe('PassphraseVerifier', () => {

describe('hideRandomWord', () => {
it('should break passphrase, hide a word and store all in state', () => {
const wrapper = mount(<PassphraseVerifier {...props} />);
const wrapper = shallow(<PassphraseVerifier {...props} />);

const randomIndex = 0.6;
const expectedValues = {
Expand Down
6 changes: 3 additions & 3 deletions src/utils/api/delegate.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ describe('Utils: Delegate', () => {
{ username: 'genesis_42' },
{ username: 'genesis_44' },
];
const mockedPromise = new Promise((resolve) => { resolve({ success: true, delegates }); });
const votedDict = { username: 'genesis_11' };
peersMock.expects('requestToActivePeer').withArgs(activePeer, 'delegates/search', { q: username }).returns(Promise.resolve({ success: true, delegates }));

const returnedPromise = voteAutocomplete(activePeer, username, {});
expect(returnedPromise).to.deep.equal(mockedPromise);
const returnedPromise = voteAutocomplete(activePeer, username, votedDict);
expect(returnedPromise).to.eventually.become({ success: true, delegates });
});
});
});

0 comments on commit a7b94ee

Please sign in to comment.