Nathan Nichols
0dc1e08350
build: update typescript version ( #1601 )
2021-10-04 14:10:12 -04:00
Mayukha Vadari
949cc031ee
Lints top-level test files ( #1594 )
...
* lint broadcastClient
* lint client
* fix most of connection
* remove unused files
* lint mockRippled
* lint mockRippledTest
* lint runClientTests
* lint setupClient
* lint setupClientWeb
* lint shamap
* lint testUtils
* resolve tsc issues
* Fix tests
* lint rest of connection
* respond to comments
2021-10-04 14:10:12 -04:00
Nathan Nichols
e200de3073
Adds @xrplf prettier config ( #1598 )
...
* build: new prettier config
2021-10-04 14:10:11 -04:00
Mayukha Vadari
8c5bc22317
Lints src/client ( #1577 )
...
* lint backoff
* lint wsWrapper
* remove rangeset - not used
* split out connection.ts classes
* lint requestManager
* lint connectionManager
* lint most of connection
* fix most of client
* lint broadcastClient
* resolve more linter issues
* resolve magic numbers
* clean up more linting
* resolve rest of issues
* fix tests
* fix browser tests
* fix tests after rebase
* respond to comments
* fix dependency cycles
2021-10-04 14:10:11 -04:00
Mayukha Vadari
b8be6c2f1b
refactor: improves mock rippled structure ( #1569 )
...
* better error handling + tests
* fix tests
* change addResponse to take a string instead of a Request
* remove unneeded change
* respond to comments
* fix tests, re-lint
* improve error message
2021-10-04 14:10:11 -04:00
Nathan Nichols
8b95ee5fab
build: Initial linting setup ( #1560 )
...
* sets up linting config and runs `yarn lint --fix` once, so that all changes will show up correctly in future PRs.
* Note that there are still a lot of linter errors.
2021-10-04 14:10:10 -04:00
Mayukha Vadari
09ef8595e7
refactor: move fixtures closer to tests (part 2) ( #1561 )
...
* move echo
* move fee
* move subscribe/unsubscribe
* move ledger_current
* move ledger_data
* move submit/submit_multisigned
* remove account_tx/account_offers/gateway_balances
* move account_info
* remove ledger_entry
* remove tx
* remove account_lines
* remove ripple_path_find
* remove ledger
* remove book_offers
* move ping
* remove global_config
* move test_command
* additional mock-rippled cleanup
* add explanatory comment to mock.addResponse
2021-10-04 14:10:10 -04:00
Mayukha Vadari
f9fe5936b1
refactor: rename all test files to camelCase ( #1562 )
...
* rename files to camelCase
* fix imports
* more renames
* pull all client tests out of individual folders
* fix imports
* fix tests
2021-10-04 14:10:10 -04:00