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
6268b9ea26
test: removes the use of TestSuite ( #1566 )* switch all methods to new format* clean up rippleClient* rename files to remove ripple from name* additional cleanup
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
Mayukha Vadari
759e075e54
refactor: use chai instead of assert-diff ( #1570 )
...
* assert-diff -> chai
* fix tests
* remove package
* fix rebase
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