mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-18 21:35:21 +01:00
Updated test dependencies
This commit is contained in:
parent
42f0d31a2b
commit
365ae9e34e
@ -1,7 +1,7 @@
|
||||
/* global describe, it, expect, jest, jasmine */
|
||||
import React from 'react';
|
||||
import { WatchOnlyWallet, LegacyWallet, SegwitP2SHWallet, AppStorage } from './class';
|
||||
import renderer from 'react-test-renderer';
|
||||
import TestRenderer from 'react-test-renderer';
|
||||
import Settings from './screen/settings';
|
||||
import Selftest from './screen/selftest';
|
||||
import { BlueHeader } from './BlueComponents';
|
||||
@ -49,17 +49,17 @@ describe('unit - LegacyWallet', function() {
|
||||
});
|
||||
|
||||
it('BlueHeader works', () => {
|
||||
const rendered = renderer.create(<BlueHeader />).toJSON();
|
||||
const rendered = TestRenderer.create(<BlueHeader />).toJSON();
|
||||
expect(rendered).toBeTruthy();
|
||||
});
|
||||
|
||||
it('Settings work', () => {
|
||||
const rendered = renderer.create(<Settings />).toJSON();
|
||||
const rendered = TestRenderer.create(<Settings />).toJSON();
|
||||
expect(rendered).toBeTruthy();
|
||||
});
|
||||
|
||||
it('Selftest work', () => {
|
||||
const component = renderer.create(<Selftest />);
|
||||
const component = TestRenderer.create(<Selftest />);
|
||||
const root = component.root;
|
||||
const rendered = component.toJSON();
|
||||
expect(rendered).toBeTruthy();
|
||||
|
@ -1,6 +1,5 @@
|
||||
import Localization from 'react-localization';
|
||||
import { AsyncStorage } from 'react-native';
|
||||
import { Util } from 'expo';
|
||||
import { AppStorage } from '../class';
|
||||
let BigNumber = require('bignumber.js');
|
||||
let strings;
|
||||
@ -14,7 +13,6 @@ let strings;
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO: rewrite this when Expo version is upped
|
||||
if (Localization.getCurrentLocaleAsync) {
|
||||
let locale = await Localization.getCurrentLocaleAsync();
|
||||
if (locale) {
|
||||
|
4699
package-lock.json
generated
4699
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
40
package.json
40
package.json
@ -2,20 +2,20 @@
|
||||
"name": "BlueWallet",
|
||||
"version": "2.4.3",
|
||||
"devDependencies": {
|
||||
"babel-eslint": "^8.2.2",
|
||||
"eslint": "^4.19.0",
|
||||
"babel-eslint": "^8.2.6",
|
||||
"eslint": "^4.19.1",
|
||||
"eslint-config-standard": "^11.0.0",
|
||||
"eslint-config-standard-react": "^6.0.0",
|
||||
"eslint-plugin-babel": "^4.1.2",
|
||||
"eslint-plugin-import": "^2.9.0",
|
||||
"eslint-plugin-import": "^2.14.0",
|
||||
"eslint-plugin-node": "^6.0.1",
|
||||
"eslint-plugin-promise": "^3.7.0",
|
||||
"eslint-plugin-react": "^7.7.0",
|
||||
"eslint-plugin-standard": "^3.0.1",
|
||||
"jest-expo": "^23.0.0",
|
||||
"eslint-plugin-promise": "^3.8.0",
|
||||
"eslint-plugin-react": "^7.11.1",
|
||||
"eslint-plugin-standard": "^3.1.0",
|
||||
"jest-expo": "^30.0.0",
|
||||
"prettier-eslint-cli": "^4.7.1",
|
||||
"react-native-scripts": "1.8.1",
|
||||
"react-test-renderer": "16.0.0",
|
||||
"react-test-renderer": "16.3.1",
|
||||
"rn-nodeify": "github:mvayngrib/rn-nodeify",
|
||||
"snazzy": "^7.0.0",
|
||||
"standard": "^11.0.1"
|
||||
@ -39,23 +39,24 @@
|
||||
"dependencies": {
|
||||
"asyncstorage-down": "^3.1.1",
|
||||
"bignumber.js": "^5.0.0",
|
||||
"bip21": "^2.0.1",
|
||||
"bip21": "^2.0.2",
|
||||
"bip39": "^2.5.0",
|
||||
"bitcoinjs-lib": "^3.3.2",
|
||||
"buffer": "^5.1.0",
|
||||
"buffer": "^5.2.1",
|
||||
"buffer-reverse": "^1.0.1",
|
||||
"crypto-js": "^3.1.9-1",
|
||||
"eslint-config-prettier": "^2.9.0",
|
||||
"eslint-plugin-prettier": "^2.6.0",
|
||||
"expo": "^30.0.0",
|
||||
"eslint-config-prettier": "^2.10.0",
|
||||
"eslint-plugin-prettier": "^2.6.2",
|
||||
"expo": "^30.0.1",
|
||||
"expo-analytics": "^1.0.7",
|
||||
"frisbee": "^1.6.4",
|
||||
"isaac": "0.0.5",
|
||||
"mocha": "^5.0.4",
|
||||
"jest": "^23.6.0",
|
||||
"mocha": "^5.2.0",
|
||||
"node-libs-react-native": "^1.0.1",
|
||||
"prettier": "^1.11.1",
|
||||
"prettier": "^1.14.2",
|
||||
"process": "^0.11.10",
|
||||
"prop-types": "^15.6.1",
|
||||
"prop-types": "^15.6.2",
|
||||
"react": "16.3.1",
|
||||
"react-localization": "^1.0.10",
|
||||
"react-native": "https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz",
|
||||
@ -64,9 +65,10 @@
|
||||
"react-native-flexi-radio-button": "^0.2.2",
|
||||
"react-native-level-fs": "^3.0.0",
|
||||
"react-native-material-dropdown": "^0.11.1",
|
||||
"react-native-qrcode": "^0.2.6",
|
||||
"react-native-snap-carousel": "^3.7.2",
|
||||
"react-navigation": "^2.13.0",
|
||||
"react-native-qrcode": "^0.2.7",
|
||||
"react-native-snap-carousel": "^3.7.4",
|
||||
"react-navigation": "^2.14.2",
|
||||
"react-test-render": "^1.1.1",
|
||||
"readable-stream": "^1.1.14",
|
||||
"request-promise-native": "^1.0.5",
|
||||
"secure-random": "^1.1.1",
|
||||
|
Loading…
Reference in New Issue
Block a user