Tom Kirkpatrick
38c19ac618
test(lnd): add some tests for neutrino
6 years ago
Tom Kirkpatrick
56c6c59180
feat(lnd): support multiple lnd configurations
Store lnd data within the Zap datadir and prepare to be able to support
multiple lnd configurations.
7 years ago
Tom Kirkpatrick
d4c51e9e3d
test(runner): reorganise test suites
Reorganise test suite so that unit tests are cleanly separate from e2e
tests. Update tests to make better use of our custom module resolves.
7 years ago
Tom Kirkpatrick
4b98b5a1fc
chore(deps): update react packages to v16.x
Update react and related dependencies to the latest 16.x versions.
7 years ago
Tom Kirkpatrick
5681b82a3c
refactor: move helper code to lib directory
7 years ago
Tom Kirkpatrick
a989c038fc
feat(wallet): remember last wallet address
Only generate a new wallet address after the last one has been used.
Fix #519
7 years ago
Ben Woosley
dc29c80ad0
style(line length): Drop prettier line length from 120 to 100
Subjectively, this increases general readability, while the higher max-length
limit allows for longer strings and comments, etc.
7 years ago
Ben Woosley
f87236495a
style(line length): Limit prettier line length to 120 chars
150 is a bit too long
7 years ago
Tom Kirkpatrick
0c7e75eb05
perf(bundle-size): only import used react icons
The final size of renderer.prod.js is about 4.75mb. 2.35mb of this comes
from react-icons.
Update the react icon imports to import only the specific icons that we
use. This reduces the final size of renderer.prod.js by about 50%
7 years ago
Tom Kirkpatrick
0846bcb772
style(lint): lint and format all code
7 years ago
Ben Woosley
06595b1ea4
enhance(test): Drop pessimistic printing of logs that shouldn't be there
This test code is unnecessary in the common case and can be revived if the test
fails.
7 years ago
Ben Woosley
07facd5d0d
On the receive modal, label the address Testnet when appropriate
7 years ago
Ben Woosley
08fbed672f
Prefix ticker units with 't' when running on testnet
7 years ago
Ben Woosley
7d39aec678
Replace info.isTestnet with info.network
This holds network-specific information, initially the explorerUrl and the
bitcoinJsNetwork.
7 years ago
Ben Woosley
037f351b59
Drop the ModalRoot component
Given we have no active use of it, and the trend seems to be toward independent
modal components, eg. ContactModal, let's drop it.
7 years ago
Ben Woosley
7e998285f9
Drop the SuccessfulSendPayment and SuccessfulSendCoins modals
These are defunct, see the replacements:
showSuccessPayScreen and successTransactionScreen in Wallet.
7 years ago
Ben Woosley
4652c60ea7
Fix ModalRoot spec to pass
By providing required param isTestnet
7 years ago
Jack Mallers
a42b1a04e6
fix(lint/tests): fix lint/tests and remove hard coded data
7 years ago
Jack Mallers
63707b0b40
fix(lint/tests): fix lint and test errors
7 years ago
Jack Mallers
d797b18d3a
fix(lint/tests): fix lint/tests
7 years ago
Jack Mallers
0ea5cc743e
fix(lint/tests): fix lint errors and gen new snapshots
7 years ago
Jack Mallers
ff4673c6ee
fix(snapshots): create new snapshots so tests pass
7 years ago
Jack Mallers
4b35c5f1aa
fix(channelform): remove old unused reducer
7 years ago
Jack Mallers
0e98753b1e
fix(tests): new snapshots to fix tests
7 years ago
Jack Mallers
b0d5ff90c0
fix(tests): update the tests
7 years ago
Jack Mallers
357cf4e0ef
fix(lint): fix all lint errors except a few (will fix the rest after i finish the rest of the modals)
7 years ago
Jack Mallers
f0484c815c
fix(tests): new snapshots and remove nav test
7 years ago
Jack Mallers
7fa9b42278
fix(tests): fix nav test
7 years ago
Ben Woosley
4278fbacda
enhance(eslint-jest): Use the recommended eslint-plugin-jest config
Adds a few handy practices that we are currently in line with.
https://www.npmjs.com/package/eslint-plugin-jest#rules
7 years ago
Ben Woosley
acbf786c0a
fix(lints): Manually fix some trivial lints
7 years ago
Ben Woosley
4125283587
enhance(lints): Enable currenly disabled lints
7 years ago
Ben Woosley
2e5ca3da68
fix(lints): Run eslint --fix over the currently disabled lints
7 years ago
Jack Mallers
e4f10a568c
fix(tests): fix nav tests as we have new nav links
7 years ago
Jack Mallers
962d79bb88
fix(lint): fix linting errors
7 years ago
Jack Mallers
6e30b83086
fix(tests): fix nav tests as we have new nav links
7 years ago
Jack Mallers
e793efa1ed
fix(lint): fix linting errors
7 years ago
Ben Woosley
2421673379
enhance(form-tests): Test that Pay Form display respects isOnchain / isLn props
7 years ago
Ben Woosley
a0b3b825d8
enhance(form-tests): Split a PayForm and RequestForm test out
Form.spec just shallow renders the Form, so PayForm and RequestForm
were previously only tested insofar as their props were valiated by
propTypes.
Testing them directly means the form is rendered.
7 years ago
Ben Woosley
1578fc2631
fix(e2e-tests): Drop irrelevant e2e tests
So that e2e runs green
7 years ago
Ben Woosley
8e342f5cf9
fix(peers spec): Update existing Peers spec to match current behavior
Broken as of: b492fc6bd7
7 years ago
Torkel Rogstad
ef54915c11
Removes unused code, adds proper semicolon rule and reduces lint errors
7 years ago
Jack Mallers
d7653b445a
fix(tests): fixed tests
7 years ago
Jack Mallers
9f7bd987da
fix(tests): fix test snapshots
7 years ago
Jack Mallers
3d9ee73d02
fix(lint): fix linting errors
7 years ago
Jack Mallers
9ad4beb03f
fix(lint, tests): fix linting errors and tests
7 years ago
Jack Mallers
642c61db44
fix(lint): fix linting errors
7 years ago
Jonathan Zobro
d3ecbe728b
test(ModalRoot): add baseline tests
7 years ago
Jack Mallers
26ad641a02
fix(payform): fix linting issues
7 years ago
Jonathan Zobro
dbecab3db9
(test)Nav Component
7 years ago
Jonathan Zobro
29d695bb49
test LoadingBolt component
7 years ago