diff --git a/.gitignore b/.gitignore index 7f4622a3..17aadf75 100644 --- a/.gitignore +++ b/.gitignore @@ -70,4 +70,4 @@ scripts/cache .nyc_output # browser tests -test-compiled-for-web +testCompiledForWeb diff --git a/package.json b/package.json index 2ee8bb29..80b78e10 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "test:browser": "TS_NODE_PROJECT=src/tsconfig.json nyc mocha ./test/browser/*.ts", "test:watch": "TS_NODE_PROJECT=src/tsconfig.json mocha --config=test/.mocharc.json --watch --reporter dot", "format": "prettier --write '{src,test}/**/*.ts'", - "lint": "eslint 'src/**/*.ts' 'test/*-test.{ts,js}'", + "lint": "eslint 'src/**/*.ts' 'test/*.{ts,js}'", "perf": "./scripts/perf_test.sh", "compile:snippets": "tsc -p snippets/tsconfig.json", "start:snippet": "npm run compile:snippets && node ./snippets/dist/start.js", diff --git a/scripts/ci.sh b/scripts/ci.sh index 28d84070..b03db824 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -33,9 +33,9 @@ unittest() { #node --harmony test-compiled/mocked-server.js > /dev/null & #echo "Running tests in PhantomJS" - #mocha-phantomjs test/localrunner.html + #mocha-phantomjs test/localRunner.html #echo "Running tests using minified version in PhantomJS" - #mocha-phantomjs test/localrunnermin.html + #mocha-phantomjs test/localRunnerMin.html #echo "Running tests in SauceLabs" #http-server & @@ -47,12 +47,12 @@ unittest() { } integrationtest() { - mocha test/integration/integration-test.js + mocha test/integration/integration.js # run integration tests in PhantomJS #gulp build-tests build-min #echo "Running integragtion tests in PhantomJS" - #mocha-phantomjs test/localintegrationrunner.html + #mocha-phantomjs test/localIntegrationRunner.html } doctest() { diff --git a/test/backoff-test.ts b/test/backoff.ts similarity index 100% rename from test/backoff-test.ts rename to test/backoff.ts diff --git a/test/broadcast-client-test.ts b/test/broadcastClient.ts similarity index 97% rename from test/broadcast-client-test.ts rename to test/broadcastClient.ts index dae89864..81f22651 100644 --- a/test/broadcast-client-test.ts +++ b/test/broadcastClient.ts @@ -1,6 +1,6 @@ import _ from 'lodash' import assert from 'assert-diff' -import setupClient from './setup-client' +import setupClient from './setupClient' import responses from './fixtures/responses' import rippled from './fixtures/rippled' import {ignoreWebSocketDisconnect} from './testUtils' diff --git a/test/browser/browser-integration-test.ts b/test/browser/browserIntegration.ts similarity index 91% rename from test/browser/browser-integration-test.ts rename to test/browser/browserIntegration.ts index 747983b2..35a1bce9 100644 --- a/test/browser/browser-integration-test.ts +++ b/test/browser/browserIntegration.ts @@ -6,7 +6,7 @@ describe("Browser Tests", () => { const browser = await puppeteer.launch({"headless": true}); try { const page = await browser.newPage().catch(); - await page.goto(`file:///${__dirname}/../localintegrationrunner.html`); + await page.goto(`file:///${__dirname}/../localIntegrationRunner.html`); await page.waitForFunction('document.querySelector("body").innerText.includes("submit multisigned transaction")'); diff --git a/test/client/combine/index.ts b/test/client/combine.ts similarity index 85% rename from test/client/combine/index.ts rename to test/client/combine.ts index 464beaa8..f26f866b 100644 --- a/test/client/combine/index.ts +++ b/test/client/combine.ts @@ -1,8 +1,8 @@ import assert from 'assert-diff' import binary from 'ripple-binary-codec' -import requests from '../../fixtures/requests' -import responses from '../../fixtures/responses' -import {assertResultMatch, TestSuite} from '../../testUtils' +import requests from '../fixtures/requests' +import responses from '../fixtures/responses' +import {assertResultMatch, TestSuite} from '../testUtils' const {combine: REQUEST_FIXTURES} = requests const {combine: RESPONSE_FIXTURES} = responses diff --git a/test/client/constructor/index.ts b/test/client/constructor.ts similarity index 95% rename from test/client/constructor/index.ts rename to test/client/constructor.ts index f660a58e..0d99a347 100644 --- a/test/client/constructor/index.ts +++ b/test/client/constructor.ts @@ -1,5 +1,5 @@ import assert from 'assert-diff' -import {TestSuite} from '../../testUtils' +import {TestSuite} from '../testUtils' import {Client} from 'xrpl-local' /** diff --git a/test/client/deriveXAddress/index.ts b/test/client/deriveXAddress.ts similarity index 91% rename from test/client/deriveXAddress/index.ts rename to test/client/deriveXAddress.ts index 699c2936..11bdc3c8 100644 --- a/test/client/deriveXAddress/index.ts +++ b/test/client/deriveXAddress.ts @@ -1,6 +1,6 @@ import assert from 'assert-diff' -import {TestSuite} from '../../testUtils' -import {Client} from '../../../src' +import {TestSuite} from '../testUtils' +import {Client} from '../../src' /** * Every test suite exports their tests in the default object. diff --git a/test/client/errors/index.ts b/test/client/errors.ts similarity index 94% rename from test/client/errors/index.ts rename to test/client/errors.ts index be899bb2..e117302f 100644 --- a/test/client/errors/index.ts +++ b/test/client/errors.ts @@ -1,5 +1,5 @@ import assert from 'assert-diff' -import {TestSuite} from '../../testUtils' +import {TestSuite} from '../testUtils' /** * Every test suite exports their tests in the default object. diff --git a/test/client/formatBidsAndAsks/index.ts b/test/client/formatBidsAndAsks.ts similarity index 98% rename from test/client/formatBidsAndAsks/index.ts rename to test/client/formatBidsAndAsks.ts index e8ec5c4d..74473af2 100644 --- a/test/client/formatBidsAndAsks/index.ts +++ b/test/client/formatBidsAndAsks.ts @@ -1,9 +1,9 @@ // import BigNumber from 'bignumber.js' // import assert from 'assert-diff' // import {Client} from 'xrpl-local' -// import requests from '../../fixtures/requests' -// import responses from '../../fixtures/responses' -import {TestSuite} from '../../testUtils' +// import requests from '../fixtures/requests' +// import responses from '../fixtures/responses' +import {TestSuite} from '../testUtils' // function checkSortingOfOrders(orders) { // let previousRate = '0' diff --git a/test/client/getBalances/index.ts b/test/client/getBalances.ts similarity index 93% rename from test/client/getBalances/index.ts rename to test/client/getBalances.ts index 6f48a190..0a2eb45d 100644 --- a/test/client/getBalances/index.ts +++ b/test/client/getBalances.ts @@ -1,5 +1,5 @@ -import responses from '../../fixtures/responses' -import {assertResultMatch, TestSuite} from '../../testUtils' +import responses from '../fixtures/responses' +import {assertResultMatch, TestSuite} from '../testUtils' /** * Every test suite exports their tests in the default object. diff --git a/test/client/getFee/index.ts b/test/client/getFee.ts similarity index 96% rename from test/client/getFee/index.ts rename to test/client/getFee.ts index c50d31ed..120b6224 100644 --- a/test/client/getFee/index.ts +++ b/test/client/getFee.ts @@ -1,6 +1,6 @@ import assert from 'assert-diff' -import rippled from '../../fixtures/rippled' -import {TestSuite} from '../../../test/testUtils' +import rippled from '../fixtures/rippled' +import {TestSuite} from '../testUtils' /** * Every test suite exports their tests in the default object. diff --git a/test/client/getOrderbook/index.ts b/test/client/getOrderbook.ts similarity index 96% rename from test/client/getOrderbook/index.ts rename to test/client/getOrderbook.ts index 65f220a4..5071c08d 100644 --- a/test/client/getOrderbook/index.ts +++ b/test/client/getOrderbook.ts @@ -1,7 +1,7 @@ import assert from 'assert-diff' -import responses from '../../fixtures/responses' -import requests from '../../fixtures/requests' -import {TestSuite, assertResultMatch, assertRejects} from '../../testUtils' +import responses from '../fixtures/responses' +import requests from '../fixtures/requests' +import {TestSuite, assertResultMatch, assertRejects} from '../testUtils' // import BigNumber from 'bignumber.js' // function checkSortingOfOrders(orders) { diff --git a/test/client/getPaths/index.ts b/test/client/getPaths.ts similarity index 94% rename from test/client/getPaths/index.ts rename to test/client/getPaths.ts index 0c27ffb6..e505f26e 100644 --- a/test/client/getPaths/index.ts +++ b/test/client/getPaths.ts @@ -1,8 +1,8 @@ import assert from 'assert-diff' -import { assertRejects, TestSuite } from '../../testUtils' -import requests from '../../fixtures/requests' -// import responses from '../../fixtures/responses' -import addresses from '../../fixtures/addresses.json' +import { assertRejects, TestSuite } from '../testUtils' +import requests from '../fixtures/requests' +// import responses from '../fixtures/responses' +import addresses from '../fixtures/addresses.json' const {getPaths: REQUEST_FIXTURES} = requests // const {getPaths: RESPONSE_FIXTURES} = responses diff --git a/test/client/getTrustlines/index.ts b/test/client/getTrustlines.ts similarity index 90% rename from test/client/getTrustlines/index.ts rename to test/client/getTrustlines.ts index a9a8a689..62c37af1 100644 --- a/test/client/getTrustlines/index.ts +++ b/test/client/getTrustlines.ts @@ -1,6 +1,6 @@ -import addresses from '../../fixtures/addresses.json' -import responses from '../../fixtures/responses' -import {assertResultMatch, TestSuite} from '../../testUtils' +import addresses from '../fixtures/addresses.json' +import responses from '../fixtures/responses' +import {assertResultMatch, TestSuite} from '../testUtils' const {getTrustlines: RESPONSE_FIXTURES} = responses /** diff --git a/test/client/hasNextPage/index.ts b/test/client/hasNextPage.ts similarity index 95% rename from test/client/hasNextPage/index.ts rename to test/client/hasNextPage.ts index b5bed742..7435c03b 100644 --- a/test/client/hasNextPage/index.ts +++ b/test/client/hasNextPage.ts @@ -1,5 +1,5 @@ import assert from 'assert-diff' -import {TestSuite} from '../../testUtils' +import {TestSuite} from '../testUtils' /** * Every test suite exports their tests in the default object. diff --git a/test/client/isConnected/index.ts b/test/client/isConnected.ts similarity index 92% rename from test/client/isConnected/index.ts rename to test/client/isConnected.ts index 51ff97ce..a95081bc 100644 --- a/test/client/isConnected/index.ts +++ b/test/client/isConnected.ts @@ -1,5 +1,5 @@ import assert from 'assert-diff' -import {TestSuite} from '../../testUtils' +import {TestSuite} from '../testUtils' /** * Every test suite exports their tests in the default object. diff --git a/test/client/isValidAddress/index.ts b/test/client/isValidAddress.ts similarity index 85% rename from test/client/isValidAddress/index.ts rename to test/client/isValidAddress.ts index 744d9edf..81a640e1 100644 --- a/test/client/isValidAddress/index.ts +++ b/test/client/isValidAddress.ts @@ -1,6 +1,6 @@ import assert from 'assert-diff' -import {TestSuite} from '../../testUtils' -import addresses from '../../fixtures/addresses.json' +import {TestSuite} from '../testUtils' +import addresses from '../fixtures/addresses.json' export default { 'returns true for valid address': async (client, address) => { diff --git a/test/client/isValidSecret/index.ts b/test/client/isValidSecret.ts similarity index 88% rename from test/client/isValidSecret/index.ts rename to test/client/isValidSecret.ts index a016d438..77e990da 100644 --- a/test/client/isValidSecret/index.ts +++ b/test/client/isValidSecret.ts @@ -1,5 +1,5 @@ import assert from 'assert-diff' -import {TestSuite} from '../../testUtils' +import {TestSuite} from '../testUtils' export default { 'returns true for valid secret': async (client, address) => { diff --git a/test/client/prepareCheckCancel/index.ts b/test/client/prepareCheckCancel.ts similarity index 85% rename from test/client/prepareCheckCancel/index.ts rename to test/client/prepareCheckCancel.ts index f65b3f18..63928ab1 100644 --- a/test/client/prepareCheckCancel/index.ts +++ b/test/client/prepareCheckCancel.ts @@ -1,7 +1,7 @@ -import requests from '../../fixtures/requests' -import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' -import {assertResultMatch, TestSuite} from '../../testUtils' +import requests from '../fixtures/requests' +import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' +import {assertResultMatch, TestSuite} from '../testUtils' const instructionsWithMaxLedgerVersionOffset = {maxLedgerVersionOffset: 100} /** diff --git a/test/client/prepareCheckCash/index.ts b/test/client/prepareCheckCash.ts similarity index 88% rename from test/client/prepareCheckCash/index.ts rename to test/client/prepareCheckCash.ts index 36b191b2..8221889b 100644 --- a/test/client/prepareCheckCash/index.ts +++ b/test/client/prepareCheckCash.ts @@ -1,7 +1,7 @@ -import requests from '../../fixtures/requests' -import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' -import {assertResultMatch, TestSuite} from '../../testUtils' +import requests from '../fixtures/requests' +import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' +import {assertResultMatch, TestSuite} from '../testUtils' const instructionsWithMaxLedgerVersionOffset = {maxLedgerVersionOffset: 100} /** diff --git a/test/client/prepareCheckCreate/index.ts b/test/client/prepareCheckCreate.ts similarity index 89% rename from test/client/prepareCheckCreate/index.ts rename to test/client/prepareCheckCreate.ts index a9337060..bd3b45e4 100644 --- a/test/client/prepareCheckCreate/index.ts +++ b/test/client/prepareCheckCreate.ts @@ -1,7 +1,7 @@ -import requests from '../../fixtures/requests' -import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' -import {assertResultMatch, TestSuite} from '../../testUtils' +import requests from '../fixtures/requests' +import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' +import {assertResultMatch, TestSuite} from '../testUtils' const instructionsWithMaxLedgerVersionOffset = {maxLedgerVersionOffset: 100} /** diff --git a/test/client/prepareEscrowCancellation/index.ts b/test/client/prepareEscrowCancellation.ts similarity index 89% rename from test/client/prepareEscrowCancellation/index.ts rename to test/client/prepareEscrowCancellation.ts index b56c67cc..33274944 100644 --- a/test/client/prepareEscrowCancellation/index.ts +++ b/test/client/prepareEscrowCancellation.ts @@ -1,7 +1,7 @@ -import requests from '../../fixtures/requests' -import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' -import {assertResultMatch, TestSuite} from '../../testUtils' +import requests from '../fixtures/requests' +import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' +import {assertResultMatch, TestSuite} from '../testUtils' const instructionsWithMaxLedgerVersionOffset = {maxLedgerVersionOffset: 100} /** diff --git a/test/client/prepareEscrowCreation/index.ts b/test/client/prepareEscrowCreation.ts similarity index 91% rename from test/client/prepareEscrowCreation/index.ts rename to test/client/prepareEscrowCreation.ts index b1554825..a414df0f 100644 --- a/test/client/prepareEscrowCreation/index.ts +++ b/test/client/prepareEscrowCreation.ts @@ -1,7 +1,7 @@ -import requests from '../../fixtures/requests' -import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' -import {assertRejects, assertResultMatch, TestSuite} from '../../testUtils' +import requests from '../fixtures/requests' +import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' +import {assertRejects, assertResultMatch, TestSuite} from '../testUtils' const instructionsWithMaxLedgerVersionOffset = {maxLedgerVersionOffset: 100} export const config = { diff --git a/test/client/prepareEscrowExecution/index.ts b/test/client/prepareEscrowExecution.ts similarity index 92% rename from test/client/prepareEscrowExecution/index.ts rename to test/client/prepareEscrowExecution.ts index 4a68de19..6c54c5f0 100644 --- a/test/client/prepareEscrowExecution/index.ts +++ b/test/client/prepareEscrowExecution.ts @@ -1,7 +1,7 @@ -import {TestSuite, assertRejects, assertResultMatch} from '../../testUtils' -import requests from '../../fixtures/requests' -import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' +import {TestSuite, assertRejects, assertResultMatch} from '../testUtils' +import requests from '../fixtures/requests' +import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' const instructionsWithMaxLedgerVersionOffset = {maxLedgerVersionOffset: 100} /** diff --git a/test/client/prepareOrder/index.ts b/test/client/prepareOrder.ts similarity index 91% rename from test/client/prepareOrder/index.ts rename to test/client/prepareOrder.ts index 6a403f7a..3cca5482 100644 --- a/test/client/prepareOrder/index.ts +++ b/test/client/prepareOrder.ts @@ -1,7 +1,7 @@ -import requests from '../../fixtures/requests' -import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' -import {assertRejects, assertResultMatch, TestSuite} from '../../testUtils' +import requests from '../fixtures/requests' +import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' +import {assertRejects, assertResultMatch, TestSuite} from '../testUtils' const instructionsWithMaxLedgerVersionOffset = {maxLedgerVersionOffset: 100} /** diff --git a/test/client/prepareOrderCancellation/index.ts b/test/client/prepareOrderCancellation.ts similarity index 92% rename from test/client/prepareOrderCancellation/index.ts rename to test/client/prepareOrderCancellation.ts index 10fca979..0a4b6856 100644 --- a/test/client/prepareOrderCancellation/index.ts +++ b/test/client/prepareOrderCancellation.ts @@ -1,7 +1,7 @@ -import requests from '../../fixtures/requests' -import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' -import {assertRejects, assertResultMatch, TestSuite} from '../../testUtils' +import requests from '../fixtures/requests' +import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' +import {assertRejects, assertResultMatch, TestSuite} from '../testUtils' const instructionsWithMaxLedgerVersionOffset = {maxLedgerVersionOffset: 100} /** diff --git a/test/client/preparePayment/index.ts b/test/client/preparePayment.ts similarity index 98% rename from test/client/preparePayment/index.ts rename to test/client/preparePayment.ts index e22639e8..bfbc42f9 100644 --- a/test/client/preparePayment/index.ts +++ b/test/client/preparePayment.ts @@ -1,7 +1,7 @@ -import {assertResultMatch, TestSuite, assertRejects} from '../../testUtils' -import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' -import requests from '../../fixtures/requests' +import {assertResultMatch, TestSuite, assertRejects} from '../testUtils' +import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' +import requests from '../fixtures/requests' import {ValidationError} from 'xrpl-local/common/errors' import binary from 'ripple-binary-codec' import assert from 'assert-diff' diff --git a/test/client/preparePaymentChannelClaim/index.ts b/test/client/preparePaymentChannelClaim.ts similarity index 94% rename from test/client/preparePaymentChannelClaim/index.ts rename to test/client/preparePaymentChannelClaim.ts index b446e61f..64c76e3e 100644 --- a/test/client/preparePaymentChannelClaim/index.ts +++ b/test/client/preparePaymentChannelClaim.ts @@ -1,8 +1,8 @@ import assert from 'assert-diff' -import requests from '../../fixtures/requests' -import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' -import {assertResultMatch, TestSuite} from '../../testUtils' +import requests from '../fixtures/requests' +import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' +import {assertResultMatch, TestSuite} from '../testUtils' const instructionsWithMaxLedgerVersionOffset = {maxLedgerVersionOffset: 100} const {preparePaymentChannelClaim: REQUEST_FIXTURES} = requests const {preparePaymentChannelClaim: RESPONSE_FIXTURES} = responses diff --git a/test/client/preparePaymentChannelCreate/index.ts b/test/client/preparePaymentChannelCreate.ts similarity index 91% rename from test/client/preparePaymentChannelCreate/index.ts rename to test/client/preparePaymentChannelCreate.ts index 4841b872..85f2f0f8 100644 --- a/test/client/preparePaymentChannelCreate/index.ts +++ b/test/client/preparePaymentChannelCreate.ts @@ -1,7 +1,7 @@ -import requests from '../../fixtures/requests' -import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' -import {assertResultMatch, TestSuite} from '../../testUtils' +import requests from '../fixtures/requests' +import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' +import {assertResultMatch, TestSuite} from '../testUtils' const instructionsWithMaxLedgerVersionOffset = {maxLedgerVersionOffset: 100} export const config = { diff --git a/test/client/preparePaymentChannelFund/index.ts b/test/client/preparePaymentChannelFund.ts similarity index 89% rename from test/client/preparePaymentChannelFund/index.ts rename to test/client/preparePaymentChannelFund.ts index 0b489724..a2acb4a5 100644 --- a/test/client/preparePaymentChannelFund/index.ts +++ b/test/client/preparePaymentChannelFund.ts @@ -1,7 +1,7 @@ -import requests from '../../fixtures/requests' -import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' -import {assertResultMatch, TestSuite} from '../../testUtils' +import requests from '../fixtures/requests' +import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' +import {assertResultMatch, TestSuite} from '../testUtils' const instructionsWithMaxLedgerVersionOffset = {maxLedgerVersionOffset: 100} /** diff --git a/test/client/prepareSettings/index.ts b/test/client/prepareSettings.ts similarity index 97% rename from test/client/prepareSettings/index.ts rename to test/client/prepareSettings.ts index c67584fc..331a0243 100644 --- a/test/client/prepareSettings/index.ts +++ b/test/client/prepareSettings.ts @@ -1,8 +1,8 @@ import assert from 'assert-diff' -import requests from '../../fixtures/requests' -import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' -import {assertResultMatch, TestSuite} from '../../testUtils' +import requests from '../fixtures/requests' +import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' +import {assertResultMatch, TestSuite} from '../testUtils' const instructionsWithMaxLedgerVersionOffset = {maxLedgerVersionOffset: 100} /** diff --git a/test/client/prepareTicket/index.ts b/test/client/prepareTicket.ts similarity index 91% rename from test/client/prepareTicket/index.ts rename to test/client/prepareTicket.ts index 4a6d2dca..dd75767a 100644 --- a/test/client/prepareTicket/index.ts +++ b/test/client/prepareTicket.ts @@ -1,7 +1,7 @@ -import {assertResultMatch, TestSuite} from '../../testUtils' -// import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' -// import requests from '../../fixtures/requests' +import {assertResultMatch, TestSuite} from '../testUtils' +// import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' +// import requests from '../fixtures/requests' // import {ValidationError} from 'xrpl-local/common/errors' // import binary from 'ripple-binary-codec' // import assert from 'assert-diff' diff --git a/test/client/prepareTransaction/index.ts b/test/client/prepareTransaction.ts similarity index 99% rename from test/client/prepareTransaction/index.ts rename to test/client/prepareTransaction.ts index ece5181c..30b31877 100644 --- a/test/client/prepareTransaction/index.ts +++ b/test/client/prepareTransaction.ts @@ -1,9 +1,9 @@ import {ValidationError} from 'xrpl-local/common/errors' -// import requests from '../../fixtures/requests' -import responses from '../../fixtures/responses' -import {xrpToDrops, ISOTimeToRippleTime} from '../../../src/utils' -import rippled from '../../fixtures/rippled' -import {assertRejects, assertResultMatch, TestSuite} from '../../testUtils' +// import requests from '../fixtures/requests' +import responses from '../fixtures/responses' +import {xrpToDrops, ISOTimeToRippleTime} from '../../src/utils' +import rippled from '../fixtures/rippled' +import {assertRejects, assertResultMatch, TestSuite} from '../testUtils' const instructionsWithMaxLedgerVersionOffset = {maxLedgerVersionOffset: 100} export const config = { diff --git a/test/client/prepareTrustline/index.ts b/test/client/prepareTrustline.ts similarity index 92% rename from test/client/prepareTrustline/index.ts rename to test/client/prepareTrustline.ts index c4c4ef00..5f8b2966 100644 --- a/test/client/prepareTrustline/index.ts +++ b/test/client/prepareTrustline.ts @@ -1,7 +1,7 @@ -import requests from '../../fixtures/requests' -import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' -import {assertRejects, assertResultMatch, TestSuite} from '../../testUtils' +import requests from '../fixtures/requests' +import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' +import {assertRejects, assertResultMatch, TestSuite} from '../testUtils' const instructionsWithMaxLedgerVersionOffset = {maxLedgerVersionOffset: 100} /** diff --git a/test/client/request/index.ts b/test/client/request.ts similarity index 88% rename from test/client/request/index.ts rename to test/client/request.ts index 1bb2087f..61135139 100644 --- a/test/client/request/index.ts +++ b/test/client/request.ts @@ -1,6 +1,6 @@ -import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' -import {TestSuite, assertResultMatch} from '../../testUtils' +import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' +import {TestSuite, assertResultMatch} from '../testUtils' /** * Every test suite exports their tests in the default object. diff --git a/test/client/requestNextPage/index.ts b/test/client/requestNextPage.ts similarity index 95% rename from test/client/requestNextPage/index.ts rename to test/client/requestNextPage.ts index c11c91ef..781cfb09 100644 --- a/test/client/requestNextPage/index.ts +++ b/test/client/requestNextPage.ts @@ -1,5 +1,5 @@ import assert from 'assert-diff' -import {assertRejects, TestSuite} from '../../testUtils' +import {assertRejects, TestSuite} from '../testUtils' /** * Every test suite exports their tests in the default object. diff --git a/test/client/sign/index.ts b/test/client/sign.ts similarity index 98% rename from test/client/sign/index.ts rename to test/client/sign.ts index 6f32be13..38920138 100644 --- a/test/client/sign/index.ts +++ b/test/client/sign.ts @@ -1,10 +1,10 @@ import assert from 'assert-diff' import {Client} from 'xrpl-local' import binary from 'ripple-binary-codec' -import requests from '../../fixtures/requests' -import responses from '../../fixtures/responses' -import rippled from '../../fixtures/rippled' -import {TestSuite} from '../../testUtils' +import requests from '../fixtures/requests' +import responses from '../fixtures/responses' +import rippled from '../fixtures/rippled' +import {TestSuite} from '../testUtils' const {schemaValidator} = Client._PRIVATE const {sign: REQUEST_FIXTURES} = requests diff --git a/test/connection-test.ts b/test/connection.ts similarity index 99% rename from test/connection-test.ts rename to test/connection.ts index 2ab23d2f..1ada4360 100644 --- a/test/connection-test.ts +++ b/test/connection.ts @@ -1,7 +1,7 @@ import _ from 'lodash' import net from 'net' import assert from 'assert-diff' -import setupClient from './setup-client' +import setupClient from './setupClient' import {Client} from 'xrpl-local' import {ignoreWebSocketDisconnect} from './testUtils' const utils = Client._PRIVATE.ledgerUtils diff --git a/test/fixtures/requests/compute-ledger-hash.json b/test/fixtures/requests/computeLedgerHash.json similarity index 100% rename from test/fixtures/requests/compute-ledger-hash.json rename to test/fixtures/requests/computeLedgerHash.json diff --git a/test/fixtures/requests/compute-ledger-hash-transactions.json b/test/fixtures/requests/computeLedgerHashTransactions.json similarity index 100% rename from test/fixtures/requests/compute-ledger-hash-transactions.json rename to test/fixtures/requests/computeLedgerHashTransactions.json diff --git a/test/fixtures/requests/get-orderbook.json b/test/fixtures/requests/getOrderbook.json similarity index 100% rename from test/fixtures/requests/get-orderbook.json rename to test/fixtures/requests/getOrderbook.json diff --git a/test/fixtures/requests/get-orderbook-with-xrp.json b/test/fixtures/requests/getOrderbookWithXrp.json similarity index 100% rename from test/fixtures/requests/get-orderbook-with-xrp.json rename to test/fixtures/requests/getOrderbookWithXrp.json diff --git a/test/fixtures/requests/getpaths/no-paths.json b/test/fixtures/requests/getpaths/noPaths.json similarity index 100% rename from test/fixtures/requests/getpaths/no-paths.json rename to test/fixtures/requests/getpaths/noPaths.json diff --git a/test/fixtures/requests/getpaths/no-paths-source-amount.json b/test/fixtures/requests/getpaths/noPathsSourceAmount.json similarity index 100% rename from test/fixtures/requests/getpaths/no-paths-source-amount.json rename to test/fixtures/requests/getpaths/noPathsSourceAmount.json diff --git a/test/fixtures/requests/getpaths/no-paths-with-currencies.json b/test/fixtures/requests/getpaths/noPathsWithCurrencies.json similarity index 100% rename from test/fixtures/requests/getpaths/no-paths-with-currencies.json rename to test/fixtures/requests/getpaths/noPathsWithCurrencies.json diff --git a/test/fixtures/requests/getpaths/not-accept-currency.json b/test/fixtures/requests/getpaths/notAcceptCurrency.json similarity index 100% rename from test/fixtures/requests/getpaths/not-accept-currency.json rename to test/fixtures/requests/getpaths/notAcceptCurrency.json diff --git a/test/fixtures/requests/getpaths/send-all.json b/test/fixtures/requests/getpaths/sendAll.json similarity index 100% rename from test/fixtures/requests/getpaths/send-all.json rename to test/fixtures/requests/getpaths/sendAll.json diff --git a/test/fixtures/requests/getpaths/xrp2xrp-not-enough.json b/test/fixtures/requests/getpaths/xrp2xrpNotEnough.json similarity index 100% rename from test/fixtures/requests/getpaths/xrp2xrp-not-enough.json rename to test/fixtures/requests/getpaths/xrp2xrpNotEnough.json diff --git a/test/fixtures/requests/index.js b/test/fixtures/requests/index.js index a57fd716..3f7b7e19 100644 --- a/test/fixtures/requests/index.js +++ b/test/fixtures/requests/index.js @@ -2,106 +2,106 @@ module.exports = { prepareOrder: { - buy: require('./prepare-order'), - sell: require('./prepare-order-sell'), - expiration: require('./prepare-order-expiration') + buy: require('./prepareOrder'), + sell: require('./prepareOrderSell'), + expiration: require('./prepareOrderExpiration') }, prepareOrderCancellation: { - simple: require('./prepare-order-cancellation'), - withMemos: require('./prepare-order-cancellation-memos') + simple: require('./prepareOrderCancellation'), + withMemos: require('./prepareOrderCancellationMemos') }, preparePayment: { - normal: require('./prepare-payment'), - minAmountXRP: require('./prepare-payment-min-xrp'), - minAmount: require('./prepare-payment-min'), - wrongAddress: require('./prepare-payment-wrong-address'), - wrongAmount: require('./prepare-payment-wrong-amount'), - wrongPartial: require('./prepare-payment-wrong-partial'), - allOptions: require('./prepare-payment-all-options'), - noCounterparty: require('./prepare-payment-no-counterparty') + normal: require('./preparePayment'), + minAmountXRP: require('./preparePaymentMinXrp'), + minAmount: require('./preparePaymentMin'), + wrongAddress: require('./preparePaymentWrongAddress'), + wrongAmount: require('./preparePaymentWrongAmount'), + wrongPartial: require('./preparePaymentWrongPartial'), + allOptions: require('./preparePaymentAllOptions'), + noCounterparty: require('./preparePaymentNoCounterparty') }, prepareSettings: { - domain: require('./prepare-settings'), - noSignerEntries: require('./prepare-settings-no-signer-entries'), + domain: require('./prepareSettings'), + noSignerEntries: require('./prepareSettingsNoSignerEntries'), signers: { - normal: require('./prepare-settings-signers'), - noThreshold: require('./prepare-settings-signers-no-threshold'), - noWeights: require('./prepare-settings-signers-no-weights') + normal: require('./prepareSettingsSigners'), + noThreshold: require('./prepareSettingsSignersNoThreshold'), + noWeights: require('./prepareSettingsSignersNoWeights') } }, prepareEscrowCreation: { - normal: require('./prepare-escrow-creation'), - full: require('./prepare-escrow-creation-full') + normal: require('./prepareEscrowCreation'), + full: require('./prepareEscrowCreationFull') }, prepareEscrowExecution: { - normal: require('./prepare-escrow-execution'), - simple: require('./prepare-escrow-execution-simple'), - noCondition: require('./prepare-escrow-execution-no-condition'), - noFulfillment: require('./prepare-escrow-execution-no-fulfillment') + normal: require('./prepareEscrowExecution'), + simple: require('./prepareEscrowExecutionSimple'), + noCondition: require('./prepareEscrowExecutionNoCondition'), + noFulfillment: require('./prepareEscrowExecutionNoFulfillment') }, prepareEscrowCancellation: { - normal: require('./prepare-escrow-cancellation'), - memos: require('./prepare-escrow-cancellation-memos') + normal: require('./prepareEscrowCancellation'), + memos: require('./prepareEscrowCancellationMemos') }, prepareCheckCreate: { - normal: require('./prepare-check-create'), - full: require('./prepare-check-create-full') + normal: require('./prepareCheckCreate'), + full: require('./prepareCheckCreateFull') }, prepareCheckCash: { - amount: require('./prepare-check-cash-amount'), - deliverMin: require('./prepare-check-cash-delivermin') + amount: require('./prepareCheckCashAmount'), + deliverMin: require('./prepareCheckCashDelivermin') }, prepareCheckCancel: { - normal: require('./prepare-check-cancel') + normal: require('./prepareCheckCancel') }, preparePaymentChannelCreate: { - normal: require('./prepare-payment-channel-create'), - full: require('./prepare-payment-channel-create-full') + normal: require('./preparePaymentChannelCreate'), + full: require('./preparePaymentChannelCreateFull') }, preparePaymentChannelFund: { - normal: require('./prepare-payment-channel-fund'), - full: require('./prepare-payment-channel-fund-full') + normal: require('./preparePaymentChannelFund'), + full: require('./preparePaymentChannelFundFull') }, preparePaymentChannelClaim: { - normal: require('./prepare-payment-channel-claim'), - full: require('./prepare-payment-channel-claim-full'), - close: require('./prepare-payment-channel-claim-close'), - renew: require('./prepare-payment-channel-claim-renew'), - noSignature: require('./prepare-payment-channel-claim-no-signature') + normal: require('./preparePaymentChannelClaim'), + full: require('./preparePaymentChannelClaimFull'), + close: require('./preparePaymentChannelClaimClose'), + renew: require('./preparePaymentChannelClaimRenew'), + noSignature: require('./preparePaymentChannelClaimNoSignature') }, prepareTrustline: { - simple: require('./prepare-trustline-simple'), - complex: require('./prepare-trustline'), - frozen: require('./prepare-trustline-frozen.json'), - issuedXAddress: require('./prepare-trustline-issuer-xaddress.json') + simple: require('./prepareTrustlineSimple'), + complex: require('./prepareTrustline'), + frozen: require('./prepareTrustlineFrozen.json'), + issuedXAddress: require('./prepareTrustlineIssuerXaddress.json') }, sign: { normal: require('./sign'), - ticket: require('./sign-ticket'), - escrow: require('./sign-escrow.json'), - signAs: require('./sign-as') + ticket: require('./signTicket'), + escrow: require('./signEscrow.json'), + signAs: require('./signAs') }, - signPaymentChannelClaim: require('./sign-payment-channel-claim'), + signPaymentChannelClaim: require('./signPaymentChannelClaim'), getPaths: { normal: require('./getpaths/normal'), UsdToUsd: require('./getpaths/usd2usd'), XrpToXrp: require('./getpaths/xrp2xrp'), - XrpToXrpNotEnough: require('./getpaths/xrp2xrp-not-enough'), - NotAcceptCurrency: require('./getpaths/not-accept-currency'), - NoPaths: require('./getpaths/no-paths'), - NoPathsSource: require('./getpaths/no-paths-source-amount'), - NoPathsWithCurrencies: require('./getpaths/no-paths-with-currencies'), - sendAll: require('./getpaths/send-all'), + XrpToXrpNotEnough: require('./getpaths/xrp2xrpNotEnough'), + NotAcceptCurrency: require('./getpaths/notAcceptCurrency'), + NoPaths: require('./getpaths/noPaths'), + NoPathsSource: require('./getpaths/noPathsSourceAmount'), + NoPathsWithCurrencies: require('./getpaths/noPathsWithCurrencies'), + sendAll: require('./getpaths/sendAll'), invalid: require('./getpaths/invalid'), issuer: require('./getpaths/issuer') }, getOrderbook: { - normal: require('./get-orderbook'), - withXRP: require('./get-orderbook-with-xrp') + normal: require('./getOrderbook'), + withXRP: require('./getOrderbookWithXrp') }, computeLedgerHash: { - header: require('./compute-ledger-hash'), - transactions: require('./compute-ledger-hash-transactions') + header: require('./computeLedgerHash'), + transactions: require('./computeLedgerHashTransactions') }, combine: { setDomain: require('./combine.json') diff --git a/test/fixtures/requests/prepare-check-cancel.json b/test/fixtures/requests/prepareCheckCancel.json similarity index 100% rename from test/fixtures/requests/prepare-check-cancel.json rename to test/fixtures/requests/prepareCheckCancel.json diff --git a/test/fixtures/requests/prepare-check-cash-amount.json b/test/fixtures/requests/prepareCheckCashAmount.json similarity index 100% rename from test/fixtures/requests/prepare-check-cash-amount.json rename to test/fixtures/requests/prepareCheckCashAmount.json diff --git a/test/fixtures/requests/prepare-check-cash-delivermin.json b/test/fixtures/requests/prepareCheckCashDelivermin.json similarity index 100% rename from test/fixtures/requests/prepare-check-cash-delivermin.json rename to test/fixtures/requests/prepareCheckCashDelivermin.json diff --git a/test/fixtures/requests/prepare-check-create.json b/test/fixtures/requests/prepareCheckCreate.json similarity index 100% rename from test/fixtures/requests/prepare-check-create.json rename to test/fixtures/requests/prepareCheckCreate.json diff --git a/test/fixtures/requests/prepare-check-create-full.json b/test/fixtures/requests/prepareCheckCreateFull.json similarity index 100% rename from test/fixtures/requests/prepare-check-create-full.json rename to test/fixtures/requests/prepareCheckCreateFull.json diff --git a/test/fixtures/requests/prepare-escrow-cancellation.json b/test/fixtures/requests/prepareEscrowCancellation.json similarity index 100% rename from test/fixtures/requests/prepare-escrow-cancellation.json rename to test/fixtures/requests/prepareEscrowCancellation.json diff --git a/test/fixtures/requests/prepare-escrow-cancellation-memos.json b/test/fixtures/requests/prepareEscrowCancellationMemos.json similarity index 100% rename from test/fixtures/requests/prepare-escrow-cancellation-memos.json rename to test/fixtures/requests/prepareEscrowCancellationMemos.json diff --git a/test/fixtures/requests/prepare-escrow-creation.json b/test/fixtures/requests/prepareEscrowCreation.json similarity index 100% rename from test/fixtures/requests/prepare-escrow-creation.json rename to test/fixtures/requests/prepareEscrowCreation.json diff --git a/test/fixtures/requests/prepare-escrow-creation-full.json b/test/fixtures/requests/prepareEscrowCreationFull.json similarity index 100% rename from test/fixtures/requests/prepare-escrow-creation-full.json rename to test/fixtures/requests/prepareEscrowCreationFull.json diff --git a/test/fixtures/requests/prepare-escrow-execution.json b/test/fixtures/requests/prepareEscrowExecution.json similarity index 100% rename from test/fixtures/requests/prepare-escrow-execution.json rename to test/fixtures/requests/prepareEscrowExecution.json diff --git a/test/fixtures/requests/prepare-escrow-execution-no-condition.json b/test/fixtures/requests/prepareEscrowExecutionNoCondition.json similarity index 100% rename from test/fixtures/requests/prepare-escrow-execution-no-condition.json rename to test/fixtures/requests/prepareEscrowExecutionNoCondition.json diff --git a/test/fixtures/requests/prepare-escrow-execution-no-fulfillment.json b/test/fixtures/requests/prepareEscrowExecutionNoFulfillment.json similarity index 100% rename from test/fixtures/requests/prepare-escrow-execution-no-fulfillment.json rename to test/fixtures/requests/prepareEscrowExecutionNoFulfillment.json diff --git a/test/fixtures/requests/prepare-escrow-execution-simple.json b/test/fixtures/requests/prepareEscrowExecutionSimple.json similarity index 100% rename from test/fixtures/requests/prepare-escrow-execution-simple.json rename to test/fixtures/requests/prepareEscrowExecutionSimple.json diff --git a/test/fixtures/requests/prepare-order.json b/test/fixtures/requests/prepareOrder.json similarity index 100% rename from test/fixtures/requests/prepare-order.json rename to test/fixtures/requests/prepareOrder.json diff --git a/test/fixtures/requests/prepare-order-cancellation.json b/test/fixtures/requests/prepareOrderCancellation.json similarity index 100% rename from test/fixtures/requests/prepare-order-cancellation.json rename to test/fixtures/requests/prepareOrderCancellation.json diff --git a/test/fixtures/requests/prepare-order-cancellation-memos.json b/test/fixtures/requests/prepareOrderCancellationMemos.json similarity index 100% rename from test/fixtures/requests/prepare-order-cancellation-memos.json rename to test/fixtures/requests/prepareOrderCancellationMemos.json diff --git a/test/fixtures/requests/prepare-order-expiration.json b/test/fixtures/requests/prepareOrderExpiration.json similarity index 100% rename from test/fixtures/requests/prepare-order-expiration.json rename to test/fixtures/requests/prepareOrderExpiration.json diff --git a/test/fixtures/requests/prepare-order-sell.json b/test/fixtures/requests/prepareOrderSell.json similarity index 100% rename from test/fixtures/requests/prepare-order-sell.json rename to test/fixtures/requests/prepareOrderSell.json diff --git a/test/fixtures/requests/prepare-payment.json b/test/fixtures/requests/preparePayment.json similarity index 100% rename from test/fixtures/requests/prepare-payment.json rename to test/fixtures/requests/preparePayment.json diff --git a/test/fixtures/requests/prepare-payment-all-options.json b/test/fixtures/requests/preparePaymentAllOptions.json similarity index 100% rename from test/fixtures/requests/prepare-payment-all-options.json rename to test/fixtures/requests/preparePaymentAllOptions.json diff --git a/test/fixtures/requests/prepare-payment-channel-claim.json b/test/fixtures/requests/preparePaymentChannelClaim.json similarity index 100% rename from test/fixtures/requests/prepare-payment-channel-claim.json rename to test/fixtures/requests/preparePaymentChannelClaim.json diff --git a/test/fixtures/requests/prepare-payment-channel-claim-close.json b/test/fixtures/requests/preparePaymentChannelClaimClose.json similarity index 100% rename from test/fixtures/requests/prepare-payment-channel-claim-close.json rename to test/fixtures/requests/preparePaymentChannelClaimClose.json diff --git a/test/fixtures/requests/prepare-payment-channel-claim-full.json b/test/fixtures/requests/preparePaymentChannelClaimFull.json similarity index 100% rename from test/fixtures/requests/prepare-payment-channel-claim-full.json rename to test/fixtures/requests/preparePaymentChannelClaimFull.json diff --git a/test/fixtures/requests/prepare-payment-channel-claim-no-signature.json b/test/fixtures/requests/preparePaymentChannelClaimNoSignature.json similarity index 100% rename from test/fixtures/requests/prepare-payment-channel-claim-no-signature.json rename to test/fixtures/requests/preparePaymentChannelClaimNoSignature.json diff --git a/test/fixtures/requests/prepare-payment-channel-claim-renew.json b/test/fixtures/requests/preparePaymentChannelClaimRenew.json similarity index 100% rename from test/fixtures/requests/prepare-payment-channel-claim-renew.json rename to test/fixtures/requests/preparePaymentChannelClaimRenew.json diff --git a/test/fixtures/requests/prepare-payment-channel-create.json b/test/fixtures/requests/preparePaymentChannelCreate.json similarity index 100% rename from test/fixtures/requests/prepare-payment-channel-create.json rename to test/fixtures/requests/preparePaymentChannelCreate.json diff --git a/test/fixtures/requests/prepare-payment-channel-create-full.json b/test/fixtures/requests/preparePaymentChannelCreateFull.json similarity index 100% rename from test/fixtures/requests/prepare-payment-channel-create-full.json rename to test/fixtures/requests/preparePaymentChannelCreateFull.json diff --git a/test/fixtures/requests/prepare-payment-channel-fund.json b/test/fixtures/requests/preparePaymentChannelFund.json similarity index 100% rename from test/fixtures/requests/prepare-payment-channel-fund.json rename to test/fixtures/requests/preparePaymentChannelFund.json diff --git a/test/fixtures/requests/prepare-payment-channel-fund-full.json b/test/fixtures/requests/preparePaymentChannelFundFull.json similarity index 100% rename from test/fixtures/requests/prepare-payment-channel-fund-full.json rename to test/fixtures/requests/preparePaymentChannelFundFull.json diff --git a/test/fixtures/requests/prepare-payment-min.json b/test/fixtures/requests/preparePaymentMin.json similarity index 100% rename from test/fixtures/requests/prepare-payment-min.json rename to test/fixtures/requests/preparePaymentMin.json diff --git a/test/fixtures/requests/prepare-payment-min-xrp.json b/test/fixtures/requests/preparePaymentMinXrp.json similarity index 100% rename from test/fixtures/requests/prepare-payment-min-xrp.json rename to test/fixtures/requests/preparePaymentMinXrp.json diff --git a/test/fixtures/requests/prepare-payment-no-counterparty.json b/test/fixtures/requests/preparePaymentNoCounterparty.json similarity index 100% rename from test/fixtures/requests/prepare-payment-no-counterparty.json rename to test/fixtures/requests/preparePaymentNoCounterparty.json diff --git a/test/fixtures/requests/prepare-payment-wrong-address.json b/test/fixtures/requests/preparePaymentWrongAddress.json similarity index 100% rename from test/fixtures/requests/prepare-payment-wrong-address.json rename to test/fixtures/requests/preparePaymentWrongAddress.json diff --git a/test/fixtures/requests/prepare-payment-wrong-amount.json b/test/fixtures/requests/preparePaymentWrongAmount.json similarity index 100% rename from test/fixtures/requests/prepare-payment-wrong-amount.json rename to test/fixtures/requests/preparePaymentWrongAmount.json diff --git a/test/fixtures/requests/prepare-payment-wrong-partial.json b/test/fixtures/requests/preparePaymentWrongPartial.json similarity index 100% rename from test/fixtures/requests/prepare-payment-wrong-partial.json rename to test/fixtures/requests/preparePaymentWrongPartial.json diff --git a/test/fixtures/requests/prepare-settings.json b/test/fixtures/requests/prepareSettings.json similarity index 100% rename from test/fixtures/requests/prepare-settings.json rename to test/fixtures/requests/prepareSettings.json diff --git a/test/fixtures/requests/prepare-settings-no-signer-entries.json b/test/fixtures/requests/prepareSettingsNoSignerEntries.json similarity index 100% rename from test/fixtures/requests/prepare-settings-no-signer-entries.json rename to test/fixtures/requests/prepareSettingsNoSignerEntries.json diff --git a/test/fixtures/requests/prepare-settings-signers.json b/test/fixtures/requests/prepareSettingsSigners.json similarity index 100% rename from test/fixtures/requests/prepare-settings-signers.json rename to test/fixtures/requests/prepareSettingsSigners.json diff --git a/test/fixtures/requests/prepare-settings-signers-no-threshold.json b/test/fixtures/requests/prepareSettingsSignersNoThreshold.json similarity index 100% rename from test/fixtures/requests/prepare-settings-signers-no-threshold.json rename to test/fixtures/requests/prepareSettingsSignersNoThreshold.json diff --git a/test/fixtures/requests/prepare-settings-signers-no-weights.json b/test/fixtures/requests/prepareSettingsSignersNoWeights.json similarity index 100% rename from test/fixtures/requests/prepare-settings-signers-no-weights.json rename to test/fixtures/requests/prepareSettingsSignersNoWeights.json diff --git a/test/fixtures/requests/prepare-trustline.json b/test/fixtures/requests/prepareTrustline.json similarity index 100% rename from test/fixtures/requests/prepare-trustline.json rename to test/fixtures/requests/prepareTrustline.json diff --git a/test/fixtures/requests/prepare-trustline-frozen.json b/test/fixtures/requests/prepareTrustlineFrozen.json similarity index 100% rename from test/fixtures/requests/prepare-trustline-frozen.json rename to test/fixtures/requests/prepareTrustlineFrozen.json diff --git a/test/fixtures/requests/prepare-trustline-issuer-xaddress.json b/test/fixtures/requests/prepareTrustlineIssuerXaddress.json similarity index 100% rename from test/fixtures/requests/prepare-trustline-issuer-xaddress.json rename to test/fixtures/requests/prepareTrustlineIssuerXaddress.json diff --git a/test/fixtures/requests/prepare-trustline-simple.json b/test/fixtures/requests/prepareTrustlineSimple.json similarity index 100% rename from test/fixtures/requests/prepare-trustline-simple.json rename to test/fixtures/requests/prepareTrustlineSimple.json diff --git a/test/fixtures/requests/sign-as.json b/test/fixtures/requests/signAs.json similarity index 100% rename from test/fixtures/requests/sign-as.json rename to test/fixtures/requests/signAs.json diff --git a/test/fixtures/requests/sign-escrow.json b/test/fixtures/requests/signEscrow.json similarity index 100% rename from test/fixtures/requests/sign-escrow.json rename to test/fixtures/requests/signEscrow.json diff --git a/test/fixtures/requests/sign-payment-channel-claim.json b/test/fixtures/requests/signPaymentChannelClaim.json similarity index 100% rename from test/fixtures/requests/sign-payment-channel-claim.json rename to test/fixtures/requests/signPaymentChannelClaim.json diff --git a/test/fixtures/requests/sign-ticket.json b/test/fixtures/requests/signTicket.json similarity index 100% rename from test/fixtures/requests/sign-ticket.json rename to test/fixtures/requests/signTicket.json diff --git a/test/fixtures/responses/generate-address.json b/test/fixtures/responses/generateAddress.json similarity index 100% rename from test/fixtures/responses/generate-address.json rename to test/fixtures/responses/generateAddress.json diff --git a/test/fixtures/responses/generate-faucet-wallet.json b/test/fixtures/responses/generateFaucetWallet.json similarity index 100% rename from test/fixtures/responses/generate-faucet-wallet.json rename to test/fixtures/responses/generateFaucetWallet.json diff --git a/test/fixtures/responses/generate-x-address.json b/test/fixtures/responses/generateXAddress.json similarity index 100% rename from test/fixtures/responses/generate-x-address.json rename to test/fixtures/responses/generateXAddress.json diff --git a/test/fixtures/responses/get-account-info.json b/test/fixtures/responses/getAccountInfo.json similarity index 100% rename from test/fixtures/responses/get-account-info.json rename to test/fixtures/responses/getAccountInfo.json diff --git a/test/fixtures/responses/get-account-objects.json b/test/fixtures/responses/getAccountObjects.json similarity index 100% rename from test/fixtures/responses/get-account-objects.json rename to test/fixtures/responses/getAccountObjects.json diff --git a/test/fixtures/responses/get-balance-sheet.json b/test/fixtures/responses/getBalanceSheet.json similarity index 100% rename from test/fixtures/responses/get-balance-sheet.json rename to test/fixtures/responses/getBalanceSheet.json diff --git a/test/fixtures/responses/get-balances.json b/test/fixtures/responses/getBalances.json similarity index 100% rename from test/fixtures/responses/get-balances.json rename to test/fixtures/responses/getBalances.json diff --git a/test/fixtures/responses/get-ledger.json b/test/fixtures/responses/getLedger.json similarity index 100% rename from test/fixtures/responses/get-ledger.json rename to test/fixtures/responses/getLedger.json diff --git a/test/fixtures/responses/get-ledger-by-hash.json b/test/fixtures/responses/getLedgerByHash.json similarity index 100% rename from test/fixtures/responses/get-ledger-by-hash.json rename to test/fixtures/responses/getLedgerByHash.json diff --git a/test/fixtures/responses/get-ledger-full.json b/test/fixtures/responses/getLedgerFull.json similarity index 100% rename from test/fixtures/responses/get-ledger-full.json rename to test/fixtures/responses/getLedgerFull.json diff --git a/test/fixtures/responses/get-ledger-pre2014-with-partial.json b/test/fixtures/responses/getLedgerPre2014WithPartial.json similarity index 100% rename from test/fixtures/responses/get-ledger-pre2014-with-partial.json rename to test/fixtures/responses/getLedgerPre2014WithPartial.json diff --git a/test/fixtures/responses/get-ledger-with-partial-payment.json b/test/fixtures/responses/getLedgerWithPartialPayment.json similarity index 100% rename from test/fixtures/responses/get-ledger-with-partial-payment.json rename to test/fixtures/responses/getLedgerWithPartialPayment.json diff --git a/test/fixtures/responses/get-ledger-with-settings-tx.json b/test/fixtures/responses/getLedgerWithSettingsTx.json similarity index 100% rename from test/fixtures/responses/get-ledger-with-settings-tx.json rename to test/fixtures/responses/getLedgerWithSettingsTx.json diff --git a/test/fixtures/responses/get-ledger-with-state-as-hashes.json b/test/fixtures/responses/getLedgerWithStateAsHashes.json similarity index 100% rename from test/fixtures/responses/get-ledger-with-state-as-hashes.json rename to test/fixtures/responses/getLedgerWithStateAsHashes.json diff --git a/test/fixtures/responses/get-orderbook.json b/test/fixtures/responses/getOrderbook.json similarity index 100% rename from test/fixtures/responses/get-orderbook.json rename to test/fixtures/responses/getOrderbook.json diff --git a/test/fixtures/responses/get-orderbook-with-xrp.json b/test/fixtures/responses/getOrderbookWithXrp.json similarity index 100% rename from test/fixtures/responses/get-orderbook-with-xrp.json rename to test/fixtures/responses/getOrderbookWithXrp.json diff --git a/test/fixtures/responses/get-orders.json b/test/fixtures/responses/getOrders.json similarity index 100% rename from test/fixtures/responses/get-orders.json rename to test/fixtures/responses/getOrders.json diff --git a/test/fixtures/responses/get-paths.json b/test/fixtures/responses/getPaths.json similarity index 100% rename from test/fixtures/responses/get-paths.json rename to test/fixtures/responses/getPaths.json diff --git a/test/fixtures/responses/get-paths-send-all.json b/test/fixtures/responses/getPathsSendAll.json similarity index 100% rename from test/fixtures/responses/get-paths-send-all.json rename to test/fixtures/responses/getPathsSendAll.json diff --git a/test/fixtures/responses/get-paths-send-usd.json b/test/fixtures/responses/getPathsSendUsd.json similarity index 100% rename from test/fixtures/responses/get-paths-send-usd.json rename to test/fixtures/responses/getPathsSendUsd.json diff --git a/test/fixtures/responses/get-paths-xrp-to-xrp.json b/test/fixtures/responses/getPathsXrpToXrp.json similarity index 100% rename from test/fixtures/responses/get-paths-xrp-to-xrp.json rename to test/fixtures/responses/getPathsXrpToXrp.json diff --git a/test/fixtures/responses/get-payment-channel.json b/test/fixtures/responses/getPaymentChannel.json similarity index 100% rename from test/fixtures/responses/get-payment-channel.json rename to test/fixtures/responses/getPaymentChannel.json diff --git a/test/fixtures/responses/get-payment-channel-full.json b/test/fixtures/responses/getPaymentChannelFull.json similarity index 100% rename from test/fixtures/responses/get-payment-channel-full.json rename to test/fixtures/responses/getPaymentChannelFull.json diff --git a/test/fixtures/responses/get-server-info.json b/test/fixtures/responses/getServerInfo.json similarity index 100% rename from test/fixtures/responses/get-server-info.json rename to test/fixtures/responses/getServerInfo.json diff --git a/test/fixtures/responses/get-settings.json b/test/fixtures/responses/getSettings.json similarity index 100% rename from test/fixtures/responses/get-settings.json rename to test/fixtures/responses/getSettings.json diff --git a/test/fixtures/responses/get-transaction-account-delete.json b/test/fixtures/responses/getTransactionAccountDelete.json similarity index 100% rename from test/fixtures/responses/get-transaction-account-delete.json rename to test/fixtures/responses/getTransactionAccountDelete.json diff --git a/test/fixtures/responses/get-transaction-account-delete-with-memo.json b/test/fixtures/responses/getTransactionAccountDeleteWithMemo.json similarity index 100% rename from test/fixtures/responses/get-transaction-account-delete-with-memo.json rename to test/fixtures/responses/getTransactionAccountDeleteWithMemo.json diff --git a/test/fixtures/responses/get-transaction-amendment.json b/test/fixtures/responses/getTransactionAmendment.json similarity index 100% rename from test/fixtures/responses/get-transaction-amendment.json rename to test/fixtures/responses/getTransactionAmendment.json diff --git a/test/fixtures/responses/get-transaction-check-cancel.json b/test/fixtures/responses/getTransactionCheckCancel.json similarity index 100% rename from test/fixtures/responses/get-transaction-check-cancel.json rename to test/fixtures/responses/getTransactionCheckCancel.json diff --git a/test/fixtures/responses/get-transaction-check-cancel-with-memo.json b/test/fixtures/responses/getTransactionCheckCancelWithMemo.json similarity index 100% rename from test/fixtures/responses/get-transaction-check-cancel-with-memo.json rename to test/fixtures/responses/getTransactionCheckCancelWithMemo.json diff --git a/test/fixtures/responses/get-transaction-check-cash.json b/test/fixtures/responses/getTransactionCheckCash.json similarity index 100% rename from test/fixtures/responses/get-transaction-check-cash.json rename to test/fixtures/responses/getTransactionCheckCash.json diff --git a/test/fixtures/responses/get-transaction-check-cash-with-memo.json b/test/fixtures/responses/getTransactionCheckCashWithMemo.json similarity index 100% rename from test/fixtures/responses/get-transaction-check-cash-with-memo.json rename to test/fixtures/responses/getTransactionCheckCashWithMemo.json diff --git a/test/fixtures/responses/get-transaction-check-create.json b/test/fixtures/responses/getTransactionCheckCreate.json similarity index 100% rename from test/fixtures/responses/get-transaction-check-create.json rename to test/fixtures/responses/getTransactionCheckCreate.json diff --git a/test/fixtures/responses/get-transaction-check-create-with-memo.json b/test/fixtures/responses/getTransactionCheckCreateWithMemo.json similarity index 100% rename from test/fixtures/responses/get-transaction-check-create-with-memo.json rename to test/fixtures/responses/getTransactionCheckCreateWithMemo.json diff --git a/test/fixtures/responses/get-transaction-deposit-preauth-with-memo.json b/test/fixtures/responses/getTransactionDepositPreauthWithMemo.json similarity index 100% rename from test/fixtures/responses/get-transaction-deposit-preauth-with-memo.json rename to test/fixtures/responses/getTransactionDepositPreauthWithMemo.json diff --git a/test/fixtures/responses/get-transaction-escrow-cancellation.json b/test/fixtures/responses/getTransactionEscrowCancellation.json similarity index 100% rename from test/fixtures/responses/get-transaction-escrow-cancellation.json rename to test/fixtures/responses/getTransactionEscrowCancellation.json diff --git a/test/fixtures/responses/get-transaction-escrow-creation.json b/test/fixtures/responses/getTransactionEscrowCreation.json similarity index 100% rename from test/fixtures/responses/get-transaction-escrow-creation.json rename to test/fixtures/responses/getTransactionEscrowCreation.json diff --git a/test/fixtures/responses/get-transaction-escrow-execution.json b/test/fixtures/responses/getTransactionEscrowExecution.json similarity index 100% rename from test/fixtures/responses/get-transaction-escrow-execution.json rename to test/fixtures/responses/getTransactionEscrowExecution.json diff --git a/test/fixtures/responses/get-transaction-escrow-execution-simple.json b/test/fixtures/responses/getTransactionEscrowExecutionSimple.json similarity index 100% rename from test/fixtures/responses/get-transaction-escrow-execution-simple.json rename to test/fixtures/responses/getTransactionEscrowExecutionSimple.json diff --git a/test/fixtures/responses/get-transaction-fee-update.json b/test/fixtures/responses/getTransactionFeeUpdate.json similarity index 100% rename from test/fixtures/responses/get-transaction-fee-update.json rename to test/fixtures/responses/getTransactionFeeUpdate.json diff --git a/test/fixtures/responses/get-transaction-fee-update-with-memo.json b/test/fixtures/responses/getTransactionFeeUpdateWithMemo.json similarity index 100% rename from test/fixtures/responses/get-transaction-fee-update-with-memo.json rename to test/fixtures/responses/getTransactionFeeUpdateWithMemo.json diff --git a/test/fixtures/responses/get-transaction-no-meta.json b/test/fixtures/responses/getTransactionNoMeta.json similarity index 100% rename from test/fixtures/responses/get-transaction-no-meta.json rename to test/fixtures/responses/getTransactionNoMeta.json diff --git a/test/fixtures/responses/get-transaction-not-validated.json b/test/fixtures/responses/getTransactionNotValidated.json similarity index 100% rename from test/fixtures/responses/get-transaction-not-validated.json rename to test/fixtures/responses/getTransactionNotValidated.json diff --git a/test/fixtures/responses/get-transaction-order.json b/test/fixtures/responses/getTransactionOrder.json similarity index 100% rename from test/fixtures/responses/get-transaction-order.json rename to test/fixtures/responses/getTransactionOrder.json diff --git a/test/fixtures/responses/get-transaction-order-cancellation.json b/test/fixtures/responses/getTransactionOrderCancellation.json similarity index 100% rename from test/fixtures/responses/get-transaction-order-cancellation.json rename to test/fixtures/responses/getTransactionOrderCancellation.json diff --git a/test/fixtures/responses/get-transaction-order-cancellation-with-memo.json b/test/fixtures/responses/getTransactionOrderCancellationWithMemo.json similarity index 100% rename from test/fixtures/responses/get-transaction-order-cancellation-with-memo.json rename to test/fixtures/responses/getTransactionOrderCancellationWithMemo.json diff --git a/test/fixtures/responses/get-transaction-order-sell.json b/test/fixtures/responses/getTransactionOrderSell.json similarity index 100% rename from test/fixtures/responses/get-transaction-order-sell.json rename to test/fixtures/responses/getTransactionOrderSell.json diff --git a/test/fixtures/responses/get-transaction-order-with-expiration-cancellation.json b/test/fixtures/responses/getTransactionOrderWithExpirationCancellation.json similarity index 100% rename from test/fixtures/responses/get-transaction-order-with-expiration-cancellation.json rename to test/fixtures/responses/getTransactionOrderWithExpirationCancellation.json diff --git a/test/fixtures/responses/get-transaction-order-with-memo.json b/test/fixtures/responses/getTransactionOrderWithMemo.json similarity index 100% rename from test/fixtures/responses/get-transaction-order-with-memo.json rename to test/fixtures/responses/getTransactionOrderWithMemo.json diff --git a/test/fixtures/responses/get-transaction-payment.json b/test/fixtures/responses/getTransactionPayment.json similarity index 100% rename from test/fixtures/responses/get-transaction-payment.json rename to test/fixtures/responses/getTransactionPayment.json diff --git a/test/fixtures/responses/get-transaction-payment-channel-claim.json b/test/fixtures/responses/getTransactionPaymentChannelClaim.json similarity index 100% rename from test/fixtures/responses/get-transaction-payment-channel-claim.json rename to test/fixtures/responses/getTransactionPaymentChannelClaim.json diff --git a/test/fixtures/responses/get-transaction-payment-channel-claim-with-memo.json b/test/fixtures/responses/getTransactionPaymentChannelClaimWithMemo.json similarity index 100% rename from test/fixtures/responses/get-transaction-payment-channel-claim-with-memo.json rename to test/fixtures/responses/getTransactionPaymentChannelClaimWithMemo.json diff --git a/test/fixtures/responses/get-transaction-payment-channel-create.json b/test/fixtures/responses/getTransactionPaymentChannelCreate.json similarity index 100% rename from test/fixtures/responses/get-transaction-payment-channel-create.json rename to test/fixtures/responses/getTransactionPaymentChannelCreate.json diff --git a/test/fixtures/responses/get-transaction-payment-channel-create-with-memo.json b/test/fixtures/responses/getTransactionPaymentChannelCreateWithMemo.json similarity index 100% rename from test/fixtures/responses/get-transaction-payment-channel-create-with-memo.json rename to test/fixtures/responses/getTransactionPaymentChannelCreateWithMemo.json diff --git a/test/fixtures/responses/get-transaction-payment-channel-fund.json b/test/fixtures/responses/getTransactionPaymentChannelFund.json similarity index 100% rename from test/fixtures/responses/get-transaction-payment-channel-fund.json rename to test/fixtures/responses/getTransactionPaymentChannelFund.json diff --git a/test/fixtures/responses/get-transaction-payment-channel-fund-with-memo.json b/test/fixtures/responses/getTransactionPaymentChannelFundWithMemo.json similarity index 100% rename from test/fixtures/responses/get-transaction-payment-channel-fund-with-memo.json rename to test/fixtures/responses/getTransactionPaymentChannelFundWithMemo.json diff --git a/test/fixtures/responses/get-transaction-payment-include-raw-transaction.json b/test/fixtures/responses/getTransactionPaymentIncludeRawTransaction.json similarity index 100% rename from test/fixtures/responses/get-transaction-payment-include-raw-transaction.json rename to test/fixtures/responses/getTransactionPaymentIncludeRawTransaction.json diff --git a/test/fixtures/responses/get-transaction-settings.json b/test/fixtures/responses/getTransactionSettings.json similarity index 100% rename from test/fixtures/responses/get-transaction-settings.json rename to test/fixtures/responses/getTransactionSettings.json diff --git a/test/fixtures/responses/get-transaction-settings-set-regular-key.json b/test/fixtures/responses/getTransactionSettingsSetRegularKey.json similarity index 100% rename from test/fixtures/responses/get-transaction-settings-set-regular-key.json rename to test/fixtures/responses/getTransactionSettingsSetRegularKey.json diff --git a/test/fixtures/responses/get-transaction-settings-tracking-off.json b/test/fixtures/responses/getTransactionSettingsTrackingOff.json similarity index 100% rename from test/fixtures/responses/get-transaction-settings-tracking-off.json rename to test/fixtures/responses/getTransactionSettingsTrackingOff.json diff --git a/test/fixtures/responses/get-transaction-settings-tracking-on.json b/test/fixtures/responses/getTransactionSettingsTrackingOn.json similarity index 100% rename from test/fixtures/responses/get-transaction-settings-tracking-on.json rename to test/fixtures/responses/getTransactionSettingsTrackingOn.json diff --git a/test/fixtures/responses/get-transaction-ticket-create-with-memo.json b/test/fixtures/responses/getTransactionTicketCreateWithMemo.json similarity index 100% rename from test/fixtures/responses/get-transaction-ticket-create-with-memo.json rename to test/fixtures/responses/getTransactionTicketCreateWithMemo.json diff --git a/test/fixtures/responses/get-transaction-trust-add-memo.json b/test/fixtures/responses/getTransactionTrustAddMemo.json similarity index 100% rename from test/fixtures/responses/get-transaction-trust-add-memo.json rename to test/fixtures/responses/getTransactionTrustAddMemo.json diff --git a/test/fixtures/responses/get-transaction-trust-no-quality.json b/test/fixtures/responses/getTransactionTrustNoQuality.json similarity index 100% rename from test/fixtures/responses/get-transaction-trust-no-quality.json rename to test/fixtures/responses/getTransactionTrustNoQuality.json diff --git a/test/fixtures/responses/get-transaction-trust-set-frozen-off.json b/test/fixtures/responses/getTransactionTrustSetFrozenOff.json similarity index 100% rename from test/fixtures/responses/get-transaction-trust-set-frozen-off.json rename to test/fixtures/responses/getTransactionTrustSetFrozenOff.json diff --git a/test/fixtures/responses/get-transaction-trustline-set.json b/test/fixtures/responses/getTransactionTrustlineSet.json similarity index 100% rename from test/fixtures/responses/get-transaction-trustline-set.json rename to test/fixtures/responses/getTransactionTrustlineSet.json diff --git a/test/fixtures/responses/get-transaction-with-memo.json b/test/fixtures/responses/getTransactionWithMemo.json similarity index 100% rename from test/fixtures/responses/get-transaction-with-memo.json rename to test/fixtures/responses/getTransactionWithMemo.json diff --git a/test/fixtures/responses/get-transaction-with-memos.json b/test/fixtures/responses/getTransactionWithMemos.json similarity index 100% rename from test/fixtures/responses/get-transaction-with-memos.json rename to test/fixtures/responses/getTransactionWithMemos.json diff --git a/test/fixtures/responses/get-transactions-with-memos.json b/test/fixtures/responses/getTransactions.json similarity index 100% rename from test/fixtures/responses/get-transactions-with-memos.json rename to test/fixtures/responses/getTransactions.json diff --git a/test/fixtures/responses/get-transactions-include-raw-transactions.json b/test/fixtures/responses/getTransactionsIncludeRawTransactions.json similarity index 100% rename from test/fixtures/responses/get-transactions-include-raw-transactions.json rename to test/fixtures/responses/getTransactionsIncludeRawTransactions.json diff --git a/test/fixtures/responses/get-transactions-one.json b/test/fixtures/responses/getTransactionsOne.json similarity index 100% rename from test/fixtures/responses/get-transactions-one.json rename to test/fixtures/responses/getTransactionsOne.json diff --git a/test/fixtures/responses/get-transactions.json b/test/fixtures/responses/getTransactionsWithMemos.json similarity index 100% rename from test/fixtures/responses/get-transactions.json rename to test/fixtures/responses/getTransactionsWithMemos.json diff --git a/test/fixtures/responses/get-trustlines.json b/test/fixtures/responses/getTrustlines.json similarity index 100% rename from test/fixtures/responses/get-trustlines.json rename to test/fixtures/responses/getTrustlines.json diff --git a/test/fixtures/responses/get-trustlines-all.json b/test/fixtures/responses/getTrustlinesAll.json similarity index 100% rename from test/fixtures/responses/get-trustlines-all.json rename to test/fixtures/responses/getTrustlinesAll.json diff --git a/test/fixtures/responses/get-trustlines-rippling-disabled.json b/test/fixtures/responses/getTrustlinesRipplingDisabled.json similarity index 100% rename from test/fixtures/responses/get-trustlines-rippling-disabled.json rename to test/fixtures/responses/getTrustlinesRipplingDisabled.json diff --git a/test/fixtures/responses/index.js b/test/fixtures/responses/index.js index c7ef6842..6f241245 100644 --- a/test/fixtures/responses/index.js +++ b/test/fixtures/responses/index.js @@ -5,219 +5,219 @@ function buildList(options) { } module.exports = { - generateXAddress: require('./generate-x-address.json'), - generateAddress: require('./generate-address.json'), - getAccountInfo: require('./get-account-info.json'), - getAccountObjects: require('./get-account-objects.json'), - getBalances: require('./get-balances.json'), - getBalanceSheet: require('./get-balance-sheet.json'), + generateXAddress: require('./generateXAddress.json'), + generateAddress: require('./generateAddress.json'), + getAccountInfo: require('./getAccountInfo.json'), + getAccountObjects: require('./getAccountObjects.json'), + getBalances: require('./getBalances.json'), + getBalanceSheet: require('./getBalanceSheet.json'), getOrderbook: { - normal: require('./get-orderbook.json'), - withXRP: require('./get-orderbook-with-xrp.json') + normal: require('./getOrderbook.json'), + withXRP: require('./getOrderbookWithXrp.json') }, - getOrders: require('./get-orders.json'), + getOrders: require('./getOrders.json'), getPaths: { - XrpToUsd: require('./get-paths.json'), - UsdToUsd: require('./get-paths-send-usd.json'), - XrpToXrp: require('./get-paths-xrp-to-xrp.json'), - sendAll: require('./get-paths-send-all.json') + XrpToUsd: require('./getPaths.json'), + UsdToUsd: require('./getPathsSendUsd.json'), + XrpToXrp: require('./getPathsXrpToXrp.json'), + sendAll: require('./getPathsSendAll.json') }, getPaymentChannel: { - normal: require('./get-payment-channel.json'), - full: require('./get-payment-channel-full.json') + normal: require('./getPaymentChannel.json'), + full: require('./getPaymentChannelFull.json') }, - getServerInfo: require('./get-server-info.json'), - getSettings: require('./get-settings.json'), + getServerInfo: require('./getServerInfo.json'), + getSettings: require('./getSettings.json'), getTransaction: { - orderCancellation: require('./get-transaction-order-cancellation.json'), - orderCancellationWithMemo: require('./get-transaction-order-cancellation-with-memo.json'), + orderCancellation: require('./getTransactionOrderCancellation.json'), + orderCancellationWithMemo: require('./getTransactionOrderCancellationWithMemo.json'), orderWithExpirationCancellation: - require('./get-transaction-order-with-expiration-cancellation.json'), - order: require('./get-transaction-order.json'), - orderWithMemo: require('./get-transaction-order-with-memo.json'), - orderSell: require('./get-transaction-order-sell.json'), - noMeta: require('./get-transaction-no-meta.json'), - payment: require('./get-transaction-payment.json'), - paymentIncludeRawTransaction: require('./get-transaction-payment-include-raw-transaction.json'), - settings: require('./get-transaction-settings.json'), - trustline: require('./get-transaction-trustline-set.json'), - trackingOn: require('./get-transaction-settings-tracking-on.json'), - trackingOff: require('./get-transaction-settings-tracking-off.json'), - setRegularKey: require('./get-transaction-settings-set-regular-key.json'), - trustlineFrozenOff: require('./get-transaction-trust-set-frozen-off.json'), - trustlineNoQuality: require('./get-transaction-trust-no-quality.json'), - trustlineAddMemo: require('./get-transaction-trust-add-memo.json'), - notValidated: require('./get-transaction-not-validated.json'), + require('./getTransactionOrderWithExpirationCancellation.json'), + order: require('./getTransactionOrder.json'), + orderWithMemo: require('./getTransactionOrderWithMemo.json'), + orderSell: require('./getTransactionOrderSell.json'), + noMeta: require('./getTransactionNoMeta.json'), + payment: require('./getTransactionPayment.json'), + paymentIncludeRawTransaction: require('./getTransactionPaymentIncludeRawTransaction.json'), + settings: require('./getTransactionSettings.json'), + trustline: require('./getTransactionTrustlineSet.json'), + trackingOn: require('./getTransactionSettingsTrackingOn.json'), + trackingOff: require('./getTransactionSettingsTrackingOff.json'), + setRegularKey: require('./getTransactionSettingsSetRegularKey.json'), + trustlineFrozenOff: require('./getTransactionTrustSetFrozenOff.json'), + trustlineNoQuality: require('./getTransactionTrustNoQuality.json'), + trustlineAddMemo: require('./getTransactionTrustAddMemo.json'), + notValidated: require('./getTransactionNotValidated.json'), checkCreate: - require('./get-transaction-check-create.json'), + require('./getTransactionCheckCreate.json'), checkCreateWithMemo: - require('./get-transaction-check-create-with-memo.json'), + require('./getTransactionCheckCreateWithMemo.json'), checkCancel: - require('./get-transaction-check-cancel.json'), + require('./getTransactionCheckCancel.json'), checkCancelWithMemo: - require('./get-transaction-check-cancel-with-memo.json'), + require('./getTransactionCheckCancelWithMemo.json'), checkCash: - require('./get-transaction-check-cash.json'), + require('./getTransactionCheckCash.json'), checkCashWithMemo: - require('./get-transaction-check-cash-with-memo.json'), + require('./getTransactionCheckCashWithMemo.json'), depositPreauthWithMemo: - require('./get-transaction-deposit-preauth-with-memo.json'), + require('./getTransactionDepositPreauthWithMemo.json'), escrowCreation: - require('./get-transaction-escrow-creation.json'), + require('./getTransactionEscrowCreation.json'), escrowCancellation: - require('./get-transaction-escrow-cancellation.json'), + require('./getTransactionEscrowCancellation.json'), escrowExecution: - require('./get-transaction-escrow-execution.json'), + require('./getTransactionEscrowExecution.json'), escrowExecutionSimple: - require('./get-transaction-escrow-execution-simple.json'), + require('./getTransactionEscrowExecutionSimple.json'), paymentChannelCreate: - require('./get-transaction-payment-channel-create.json'), + require('./getTransactionPaymentChannelCreate.json'), paymentChannelCreateWithMemo: - require('./get-transaction-payment-channel-create-with-memo.json'), + require('./getTransactionPaymentChannelCreateWithMemo.json'), paymentChannelFund: - require('./get-transaction-payment-channel-fund.json'), + require('./getTransactionPaymentChannelFund.json'), paymentChannelFundWithMemo: - require('./get-transaction-payment-channel-fund-with-memo.json'), + require('./getTransactionPaymentChannelFundWithMemo.json'), paymentChannelClaim: - require('./get-transaction-payment-channel-claim.json'), + require('./getTransactionPaymentChannelClaim.json'), paymentChannelClaimWithMemo: - require('./get-transaction-payment-channel-claim-with-memo.json'), - amendment: require('./get-transaction-amendment.json'), - feeUpdate: require('./get-transaction-fee-update.json'), - feeUpdateWithMemo: require('./get-transaction-fee-update-with-memo.json'), - accountDelete: require('./get-transaction-account-delete.json'), - accountDeleteWithMemo: require('./get-transaction-account-delete-with-memo.json'), - ticketCreateWithMemo: require('./get-transaction-ticket-create-with-memo.json'), - withMemo: require('./get-transaction-with-memo.json'), - withMemos: require('./get-transaction-with-memos.json') + require('./getTransactionPaymentChannelClaimWithMemo.json'), + amendment: require('./getTransactionAmendment.json'), + feeUpdate: require('./getTransactionFeeUpdate.json'), + feeUpdateWithMemo: require('./getTransactionFeeUpdateWithMemo.json'), + accountDelete: require('./getTransactionAccountDelete.json'), + accountDeleteWithMemo: require('./getTransactionAccountDeleteWithMemo.json'), + ticketCreateWithMemo: require('./getTransactionTicketCreateWithMemo.json'), + withMemo: require('./getTransactionWithMemo.json'), + withMemos: require('./getTransactionWithMemos.json') }, getTransactions: { - normal: require('./get-transactions.json'), - includeRawTransactions: require('./get-transactions-include-raw-transactions.json'), - one: require('./get-transactions-one.json') + normal: require('./getTransactions.json'), + includeRawTransactions: require('./getTransactionsIncludeRawTransactions.json'), + one: require('./getTransactionsOne.json') }, getTrustlines: { - filtered: require('./get-trustlines.json'), + filtered: require('./getTrustlines.json'), moreThan400Items: buildList({ - item: require('./trustline-item.json'), + item: require('./trustlineItem.json'), count: 401 }), - all: require('./get-trustlines-all.json'), - ripplingDisabled: require('./get-trustlines-rippling-disabled.json') + all: require('./getTrustlinesAll.json'), + ripplingDisabled: require('./getTrustlinesRipplingDisabled.json') }, getLedger: { - header: require('./get-ledger'), - headerByHash: require('./get-ledger-by-hash'), - full: require('./get-ledger-full'), - withSettingsTx: require('./get-ledger-with-settings-tx'), - withStateAsHashes: require('./get-ledger-with-state-as-hashes'), - withPartial: require('./get-ledger-with-partial-payment'), - pre2014withPartial: require('./get-ledger-pre2014-with-partial') + header: require('./getLedger'), + headerByHash: require('./getLedgerByHash'), + full: require('./getLedgerFull'), + withSettingsTx: require('./getLedgerWithSettingsTx'), + withStateAsHashes: require('./getLedgerWithStateAsHashes'), + withPartial: require('./getLedgerWithPartialPayment'), + pre2014withPartial: require('./getLedgerPre2014WithPartial') }, prepareOrder: { - buy: require('./prepare-order.json'), - ticket: require('./prepare-order-ticket.json'), - sell: require('./prepare-order-sell.json'), - expiration: require('./prepare-order-expiration') + buy: require('./prepareOrder.json'), + ticket: require('./prepareOrderTicket.json'), + sell: require('./prepareOrderSell.json'), + expiration: require('./prepareOrderExpiration') }, prepareOrderCancellation: { - normal: require('./prepare-order-cancellation.json'), - ticket: require('./prepare-order-cancellation-ticket.json'), - withMemos: require('./prepare-order-cancellation-memos.json'), - noInstructions: require('./prepare-order-cancellation-no-instructions.json') + normal: require('./prepareOrderCancellation.json'), + ticket: require('./prepareOrderCancellationTicket.json'), + withMemos: require('./prepareOrderCancellationMemos.json'), + noInstructions: require('./prepareOrderCancellationNoInstructions.json') }, preparePayment: { - normal: require('./prepare-payment.json'), - ticket: require('./prepare-payment-ticket'), - minAmountXRP: require('./prepare-payment-min-amount-xrp.json'), - minAmountXRPXRP: require('./prepare-payment-min-amount-xrp-xrp.json'), - allOptions: require('./prepare-payment-all-options.json'), - noCounterparty: require('./prepare-payment-no-counterparty.json'), - minAmount: require('./prepare-payment-min-amount.json'), - ticketSequence: require('./prepare-payment-ticket-sequence.json') + normal: require('./preparePayment.json'), + ticket: require('./preparePaymentTicket'), + minAmountXRP: require('./preparePaymentMinAmountXrp.json'), + minAmountXRPXRP: require('./preparePaymentMinAmountXrpXrp.json'), + allOptions: require('./preparePaymentAllOptions.json'), + noCounterparty: require('./preparePaymentNoCounterparty.json'), + minAmount: require('./preparePaymentMinAmount.json'), + ticketSequence: require('./preparePaymentTicketSequence.json') }, prepareSettings: { - regularKey: require('./prepare-settings-regular-key.json'), - removeRegularKey: require('./prepare-settings-remove-regular-key.json'), - flags: require('./prepare-settings.json'), - ticket: require('./prepare-settings-ticket.json'), - flagsMultisign: require('./prepare-settings-multisign.json'), - flagSet: require('./prepare-settings-flag-set.json'), - flagClear: require('./prepare-settings-flag-clear.json'), - flagSetDepositAuth: require('./prepare-settings-flag-set-deposit-auth.json'), - flagClearDepositAuth: require('./prepare-settings-flag-clear-deposit-auth.json'), - setTransferRate: require('./prepare-settings-set-transfer-rate.json'), - fieldClear: require('./prepare-settings-field-clear.json'), - noInstructions: require('./prepare-settings-no-instructions.json'), - signed: require('./prepare-settings-signed.json'), - noMaxLedgerVersion: require('./prepare-settings-no-maxledgerversion.json'), - signers: require('./prepare-settings-signers.json'), - noSignerList: require('./prepare-settings-no-signer-list.json'), - noWeights: require('./prepare-settings-no-weight.json') + regularKey: require('./prepareSettingsRegularKey.json'), + removeRegularKey: require('./prepareSettingsRemoveRegularKey.json'), + flags: require('./prepareSettings.json'), + ticket: require('./prepareSettingsTicket.json'), + flagsMultisign: require('./prepareSettingsMultisign.json'), + flagSet: require('./prepareSettingsFlagSet.json'), + flagClear: require('./prepareSettingsFlagClear.json'), + flagSetDepositAuth: require('./prepareSettingsFlagSetDepositAuth.json'), + flagClearDepositAuth: require('./prepareSettingsFlagClearDepositAuth.json'), + setTransferRate: require('./prepareSettingsSetTransferRate.json'), + fieldClear: require('./prepareSettingsFieldClear.json'), + noInstructions: require('./prepareSettingsNoInstructions.json'), + signed: require('./prepareSettingsSigned.json'), + noMaxLedgerVersion: require('./prepareSettingsNoMaxledgerversion.json'), + signers: require('./prepareSettingsSigners.json'), + noSignerList: require('./prepareSettingsNoSignerList.json'), + noWeights: require('./prepareSettingsNoWeight.json') }, prepareCheckCreate: { - normal: require('./prepare-check-create'), - ticket: require('./prepare-check-create-ticket'), - full: require('./prepare-check-create-full') + normal: require('./prepareCheckCreate'), + ticket: require('./prepareCheckCreateTicket'), + full: require('./prepareCheckCreateFull') }, prepareCheckCash: { - amount: require('./prepare-check-cash-amount'), - ticket: require('./prepare-check-cash-ticket'), - deliverMin: require('./prepare-check-cash-delivermin') + amount: require('./prepareCheckCashAmount'), + ticket: require('./prepareCheckCashTicket'), + deliverMin: require('./prepareCheckCashDelivermin') }, prepareCheckCancel: { - normal: require('./prepare-check-cancel'), - ticket: require('./prepare-check-cancel-ticket') + normal: require('./prepareCheckCancel'), + ticket: require('./prepareCheckCancelTicket') }, prepareEscrowCreation: { - normal: require('./prepare-escrow-creation'), - ticket: require('./prepare-escrow-creation-ticket'), - full: require('./prepare-escrow-creation-full') + normal: require('./prepareEscrowCreation'), + ticket: require('./prepareEscrowCreationTicket'), + full: require('./prepareEscrowCreationFull') }, prepareEscrowExecution: { - normal: require('./prepare-escrow-execution'), - ticket: require('./prepare-escrow-execution-ticket'), - simple: require('./prepare-escrow-execution-simple') + normal: require('./prepareEscrowExecution'), + ticket: require('./prepareEscrowExecutionTicket'), + simple: require('./prepareEscrowExecutionSimple') }, prepareEscrowCancellation: { - normal: require('./prepare-escrow-cancellation'), - ticket: require('./prepare-escrow-cancellation-ticket'), - memos: require('./prepare-escrow-cancellation-memos') + normal: require('./prepareEscrowCancellation'), + ticket: require('./prepareEscrowCancellationTicket'), + memos: require('./prepareEscrowCancellationMemos') }, preparePaymentChannelCreate: { - normal: require('./prepare-payment-channel-create'), - ticket: require('./prepare-payment-channel-create-ticket'), - full: require('./prepare-payment-channel-create-full') + normal: require('./preparePaymentChannelCreate'), + ticket: require('./preparePaymentChannelCreateTicket'), + full: require('./preparePaymentChannelCreateFull') }, preparePaymentChannelFund: { - normal: require('./prepare-payment-channel-fund'), - ticket: require('./prepare-payment-channel-fund-ticket'), - full: require('./prepare-payment-channel-fund-full') + normal: require('./preparePaymentChannelFund'), + ticket: require('./preparePaymentChannelFundTicket'), + full: require('./preparePaymentChannelFundFull') }, preparePaymentChannelClaim: { - normal: require('./prepare-payment-channel-claim'), - ticket: require('./prepare-payment-channel-claim-ticket'), - renew: require('./prepare-payment-channel-claim-renew'), - close: require('./prepare-payment-channel-claim-close') + normal: require('./preparePaymentChannelClaim'), + ticket: require('./preparePaymentChannelClaimTicket'), + renew: require('./preparePaymentChannelClaimRenew'), + close: require('./preparePaymentChannelClaimClose') }, prepareTrustline: { - simple: require('./prepare-trustline-simple'), - ticket: require('./prepare-trustline-ticket'), - frozen: require('./prepare-trustline-frozen'), - issuedXAddress: require('./prepare-trustline-issuer-xaddress.json'), - complex: require('./prepare-trustline') + simple: require('./prepareTrustlineSimple'), + ticket: require('./prepareTrustlineTicket'), + frozen: require('./prepareTrustlineFrozen'), + issuedXAddress: require('./prepareTrustlineIssuerXaddress.json'), + complex: require('./prepareTrustline') }, sign: { normal: require('./sign'), - ticket: require('./sign-ticket'), - escrow: require('./sign-escrow'), - signAs: require('./sign-as') + ticket: require('./signTicket'), + escrow: require('./signEscrow'), + signAs: require('./signAs') }, - signPaymentChannelClaim: require('./sign-payment-channel-claim'), + signPaymentChannelClaim: require('./signPaymentChannelClaim'), combine: { single: require('./combine') }, submit: require('./submit'), - ledgerEvent: require('./ledger-event'), - generateFaucetWallet: require('./generate-faucet-wallet.json') + ledgerEvent: require('./ledgerEvent'), + generateFaucetWallet: require('./generateFaucetWallet.json') }; diff --git a/test/fixtures/responses/ledger-event.json b/test/fixtures/responses/ledgerEvent.json similarity index 100% rename from test/fixtures/responses/ledger-event.json rename to test/fixtures/responses/ledgerEvent.json diff --git a/test/fixtures/responses/prepare-check-cancel.json b/test/fixtures/responses/prepareCheckCancel.json similarity index 100% rename from test/fixtures/responses/prepare-check-cancel.json rename to test/fixtures/responses/prepareCheckCancel.json diff --git a/test/fixtures/responses/prepare-check-cancel-ticket.json b/test/fixtures/responses/prepareCheckCancelTicket.json similarity index 100% rename from test/fixtures/responses/prepare-check-cancel-ticket.json rename to test/fixtures/responses/prepareCheckCancelTicket.json diff --git a/test/fixtures/responses/prepare-check-cash-amount.json b/test/fixtures/responses/prepareCheckCashAmount.json similarity index 100% rename from test/fixtures/responses/prepare-check-cash-amount.json rename to test/fixtures/responses/prepareCheckCashAmount.json diff --git a/test/fixtures/responses/prepare-check-cash-delivermin.json b/test/fixtures/responses/prepareCheckCashDelivermin.json similarity index 100% rename from test/fixtures/responses/prepare-check-cash-delivermin.json rename to test/fixtures/responses/prepareCheckCashDelivermin.json diff --git a/test/fixtures/responses/prepare-check-cash-ticket.json b/test/fixtures/responses/prepareCheckCashTicket.json similarity index 100% rename from test/fixtures/responses/prepare-check-cash-ticket.json rename to test/fixtures/responses/prepareCheckCashTicket.json diff --git a/test/fixtures/responses/prepare-check-create.json b/test/fixtures/responses/prepareCheckCreate.json similarity index 100% rename from test/fixtures/responses/prepare-check-create.json rename to test/fixtures/responses/prepareCheckCreate.json diff --git a/test/fixtures/responses/prepare-check-create-full.json b/test/fixtures/responses/prepareCheckCreateFull.json similarity index 100% rename from test/fixtures/responses/prepare-check-create-full.json rename to test/fixtures/responses/prepareCheckCreateFull.json diff --git a/test/fixtures/responses/prepare-check-create-ticket.json b/test/fixtures/responses/prepareCheckCreateTicket.json similarity index 100% rename from test/fixtures/responses/prepare-check-create-ticket.json rename to test/fixtures/responses/prepareCheckCreateTicket.json diff --git a/test/fixtures/responses/prepare-escrow-cancellation.json b/test/fixtures/responses/prepareEscrowCancellation.json similarity index 100% rename from test/fixtures/responses/prepare-escrow-cancellation.json rename to test/fixtures/responses/prepareEscrowCancellation.json diff --git a/test/fixtures/responses/prepare-escrow-cancellation-memos.json b/test/fixtures/responses/prepareEscrowCancellationMemos.json similarity index 100% rename from test/fixtures/responses/prepare-escrow-cancellation-memos.json rename to test/fixtures/responses/prepareEscrowCancellationMemos.json diff --git a/test/fixtures/responses/prepare-escrow-cancellation-ticket.json b/test/fixtures/responses/prepareEscrowCancellationTicket.json similarity index 100% rename from test/fixtures/responses/prepare-escrow-cancellation-ticket.json rename to test/fixtures/responses/prepareEscrowCancellationTicket.json diff --git a/test/fixtures/responses/prepare-escrow-creation.json b/test/fixtures/responses/prepareEscrowCreation.json similarity index 100% rename from test/fixtures/responses/prepare-escrow-creation.json rename to test/fixtures/responses/prepareEscrowCreation.json diff --git a/test/fixtures/responses/prepare-escrow-creation-full.json b/test/fixtures/responses/prepareEscrowCreationFull.json similarity index 100% rename from test/fixtures/responses/prepare-escrow-creation-full.json rename to test/fixtures/responses/prepareEscrowCreationFull.json diff --git a/test/fixtures/responses/prepare-escrow-creation-ticket.json b/test/fixtures/responses/prepareEscrowCreationTicket.json similarity index 100% rename from test/fixtures/responses/prepare-escrow-creation-ticket.json rename to test/fixtures/responses/prepareEscrowCreationTicket.json diff --git a/test/fixtures/responses/prepare-escrow-execution.json b/test/fixtures/responses/prepareEscrowExecution.json similarity index 100% rename from test/fixtures/responses/prepare-escrow-execution.json rename to test/fixtures/responses/prepareEscrowExecution.json diff --git a/test/fixtures/responses/prepare-escrow-execution-simple.json b/test/fixtures/responses/prepareEscrowExecutionSimple.json similarity index 100% rename from test/fixtures/responses/prepare-escrow-execution-simple.json rename to test/fixtures/responses/prepareEscrowExecutionSimple.json diff --git a/test/fixtures/responses/prepare-escrow-execution-ticket.json b/test/fixtures/responses/prepareEscrowExecutionTicket.json similarity index 100% rename from test/fixtures/responses/prepare-escrow-execution-ticket.json rename to test/fixtures/responses/prepareEscrowExecutionTicket.json diff --git a/test/fixtures/responses/prepare-order.json b/test/fixtures/responses/prepareOrder.json similarity index 100% rename from test/fixtures/responses/prepare-order.json rename to test/fixtures/responses/prepareOrder.json diff --git a/test/fixtures/responses/prepare-order-cancellation.json b/test/fixtures/responses/prepareOrderCancellation.json similarity index 100% rename from test/fixtures/responses/prepare-order-cancellation.json rename to test/fixtures/responses/prepareOrderCancellation.json diff --git a/test/fixtures/responses/prepare-order-cancellation-memos.json b/test/fixtures/responses/prepareOrderCancellationMemos.json similarity index 100% rename from test/fixtures/responses/prepare-order-cancellation-memos.json rename to test/fixtures/responses/prepareOrderCancellationMemos.json diff --git a/test/fixtures/responses/prepare-order-cancellation-no-instructions.json b/test/fixtures/responses/prepareOrderCancellationNoInstructions.json similarity index 100% rename from test/fixtures/responses/prepare-order-cancellation-no-instructions.json rename to test/fixtures/responses/prepareOrderCancellationNoInstructions.json diff --git a/test/fixtures/responses/prepare-order-cancellation-ticket.json b/test/fixtures/responses/prepareOrderCancellationTicket.json similarity index 100% rename from test/fixtures/responses/prepare-order-cancellation-ticket.json rename to test/fixtures/responses/prepareOrderCancellationTicket.json diff --git a/test/fixtures/responses/prepare-order-expiration.json b/test/fixtures/responses/prepareOrderExpiration.json similarity index 100% rename from test/fixtures/responses/prepare-order-expiration.json rename to test/fixtures/responses/prepareOrderExpiration.json diff --git a/test/fixtures/responses/prepare-order-sell.json b/test/fixtures/responses/prepareOrderSell.json similarity index 100% rename from test/fixtures/responses/prepare-order-sell.json rename to test/fixtures/responses/prepareOrderSell.json diff --git a/test/fixtures/responses/prepare-order-ticket.json b/test/fixtures/responses/prepareOrderTicket.json similarity index 100% rename from test/fixtures/responses/prepare-order-ticket.json rename to test/fixtures/responses/prepareOrderTicket.json diff --git a/test/fixtures/responses/prepare-payment.json b/test/fixtures/responses/preparePayment.json similarity index 100% rename from test/fixtures/responses/prepare-payment.json rename to test/fixtures/responses/preparePayment.json diff --git a/test/fixtures/responses/prepare-payment-all-options.json b/test/fixtures/responses/preparePaymentAllOptions.json similarity index 100% rename from test/fixtures/responses/prepare-payment-all-options.json rename to test/fixtures/responses/preparePaymentAllOptions.json diff --git a/test/fixtures/responses/prepare-payment-channel-claim.json b/test/fixtures/responses/preparePaymentChannelClaim.json similarity index 100% rename from test/fixtures/responses/prepare-payment-channel-claim.json rename to test/fixtures/responses/preparePaymentChannelClaim.json diff --git a/test/fixtures/responses/prepare-payment-channel-claim-close.json b/test/fixtures/responses/preparePaymentChannelClaimClose.json similarity index 100% rename from test/fixtures/responses/prepare-payment-channel-claim-close.json rename to test/fixtures/responses/preparePaymentChannelClaimClose.json diff --git a/test/fixtures/responses/prepare-payment-channel-claim-renew.json b/test/fixtures/responses/preparePaymentChannelClaimRenew.json similarity index 100% rename from test/fixtures/responses/prepare-payment-channel-claim-renew.json rename to test/fixtures/responses/preparePaymentChannelClaimRenew.json diff --git a/test/fixtures/responses/prepare-payment-channel-claim-ticket.json b/test/fixtures/responses/preparePaymentChannelClaimTicket.json similarity index 100% rename from test/fixtures/responses/prepare-payment-channel-claim-ticket.json rename to test/fixtures/responses/preparePaymentChannelClaimTicket.json diff --git a/test/fixtures/responses/prepare-payment-channel-create.json b/test/fixtures/responses/preparePaymentChannelCreate.json similarity index 100% rename from test/fixtures/responses/prepare-payment-channel-create.json rename to test/fixtures/responses/preparePaymentChannelCreate.json diff --git a/test/fixtures/responses/prepare-payment-channel-create-full.json b/test/fixtures/responses/preparePaymentChannelCreateFull.json similarity index 100% rename from test/fixtures/responses/prepare-payment-channel-create-full.json rename to test/fixtures/responses/preparePaymentChannelCreateFull.json diff --git a/test/fixtures/responses/prepare-payment-channel-create-ticket.json b/test/fixtures/responses/preparePaymentChannelCreateTicket.json similarity index 100% rename from test/fixtures/responses/prepare-payment-channel-create-ticket.json rename to test/fixtures/responses/preparePaymentChannelCreateTicket.json diff --git a/test/fixtures/responses/prepare-payment-channel-fund.json b/test/fixtures/responses/preparePaymentChannelFund.json similarity index 100% rename from test/fixtures/responses/prepare-payment-channel-fund.json rename to test/fixtures/responses/preparePaymentChannelFund.json diff --git a/test/fixtures/responses/prepare-payment-channel-fund-full.json b/test/fixtures/responses/preparePaymentChannelFundFull.json similarity index 100% rename from test/fixtures/responses/prepare-payment-channel-fund-full.json rename to test/fixtures/responses/preparePaymentChannelFundFull.json diff --git a/test/fixtures/responses/prepare-payment-channel-fund-ticket.json b/test/fixtures/responses/preparePaymentChannelFundTicket.json similarity index 100% rename from test/fixtures/responses/prepare-payment-channel-fund-ticket.json rename to test/fixtures/responses/preparePaymentChannelFundTicket.json diff --git a/test/fixtures/responses/prepare-payment-min-amount.json b/test/fixtures/responses/preparePaymentMinAmount.json similarity index 100% rename from test/fixtures/responses/prepare-payment-min-amount.json rename to test/fixtures/responses/preparePaymentMinAmount.json diff --git a/test/fixtures/responses/prepare-payment-min-amount-xrp.json b/test/fixtures/responses/preparePaymentMinAmountXrp.json similarity index 100% rename from test/fixtures/responses/prepare-payment-min-amount-xrp.json rename to test/fixtures/responses/preparePaymentMinAmountXrp.json diff --git a/test/fixtures/responses/prepare-payment-min-amount-xrp-xrp.json b/test/fixtures/responses/preparePaymentMinAmountXrpXrp.json similarity index 100% rename from test/fixtures/responses/prepare-payment-min-amount-xrp-xrp.json rename to test/fixtures/responses/preparePaymentMinAmountXrpXrp.json diff --git a/test/fixtures/responses/prepare-payment-no-counterparty.json b/test/fixtures/responses/preparePaymentNoCounterparty.json similarity index 100% rename from test/fixtures/responses/prepare-payment-no-counterparty.json rename to test/fixtures/responses/preparePaymentNoCounterparty.json diff --git a/test/fixtures/responses/prepare-payment-ticket.json b/test/fixtures/responses/preparePaymentTicket.json similarity index 100% rename from test/fixtures/responses/prepare-payment-ticket.json rename to test/fixtures/responses/preparePaymentTicket.json diff --git a/test/fixtures/responses/prepare-payment-ticket-sequence.json b/test/fixtures/responses/preparePaymentTicketSequence.json similarity index 100% rename from test/fixtures/responses/prepare-payment-ticket-sequence.json rename to test/fixtures/responses/preparePaymentTicketSequence.json diff --git a/test/fixtures/responses/prepare-settings.json b/test/fixtures/responses/prepareSettings.json similarity index 100% rename from test/fixtures/responses/prepare-settings.json rename to test/fixtures/responses/prepareSettings.json diff --git a/test/fixtures/responses/prepare-settings-field-clear.json b/test/fixtures/responses/prepareSettingsFieldClear.json similarity index 100% rename from test/fixtures/responses/prepare-settings-field-clear.json rename to test/fixtures/responses/prepareSettingsFieldClear.json diff --git a/test/fixtures/responses/prepare-settings-flag-clear.json b/test/fixtures/responses/prepareSettingsFlagClear.json similarity index 100% rename from test/fixtures/responses/prepare-settings-flag-clear.json rename to test/fixtures/responses/prepareSettingsFlagClear.json diff --git a/test/fixtures/responses/prepare-settings-flag-clear-deposit-auth.json b/test/fixtures/responses/prepareSettingsFlagClearDepositAuth.json similarity index 100% rename from test/fixtures/responses/prepare-settings-flag-clear-deposit-auth.json rename to test/fixtures/responses/prepareSettingsFlagClearDepositAuth.json diff --git a/test/fixtures/responses/prepare-settings-flag-set.json b/test/fixtures/responses/prepareSettingsFlagSet.json similarity index 100% rename from test/fixtures/responses/prepare-settings-flag-set.json rename to test/fixtures/responses/prepareSettingsFlagSet.json diff --git a/test/fixtures/responses/prepare-settings-flag-set-deposit-auth.json b/test/fixtures/responses/prepareSettingsFlagSetDepositAuth.json similarity index 100% rename from test/fixtures/responses/prepare-settings-flag-set-deposit-auth.json rename to test/fixtures/responses/prepareSettingsFlagSetDepositAuth.json diff --git a/test/fixtures/responses/prepare-settings-multisign.json b/test/fixtures/responses/prepareSettingsMultisign.json similarity index 100% rename from test/fixtures/responses/prepare-settings-multisign.json rename to test/fixtures/responses/prepareSettingsMultisign.json diff --git a/test/fixtures/responses/prepare-settings-no-instructions.json b/test/fixtures/responses/prepareSettingsNoInstructions.json similarity index 100% rename from test/fixtures/responses/prepare-settings-no-instructions.json rename to test/fixtures/responses/prepareSettingsNoInstructions.json diff --git a/test/fixtures/responses/prepare-settings-no-maxledgerversion.json b/test/fixtures/responses/prepareSettingsNoMaxledgerversion.json similarity index 100% rename from test/fixtures/responses/prepare-settings-no-maxledgerversion.json rename to test/fixtures/responses/prepareSettingsNoMaxledgerversion.json diff --git a/test/fixtures/responses/prepare-settings-no-signer-list.json b/test/fixtures/responses/prepareSettingsNoSignerList.json similarity index 100% rename from test/fixtures/responses/prepare-settings-no-signer-list.json rename to test/fixtures/responses/prepareSettingsNoSignerList.json diff --git a/test/fixtures/responses/prepare-settings-no-weight.json b/test/fixtures/responses/prepareSettingsNoWeight.json similarity index 100% rename from test/fixtures/responses/prepare-settings-no-weight.json rename to test/fixtures/responses/prepareSettingsNoWeight.json diff --git a/test/fixtures/responses/prepare-settings-regular-key.json b/test/fixtures/responses/prepareSettingsRegularKey.json similarity index 100% rename from test/fixtures/responses/prepare-settings-regular-key.json rename to test/fixtures/responses/prepareSettingsRegularKey.json diff --git a/test/fixtures/responses/prepare-settings-remove-regular-key.json b/test/fixtures/responses/prepareSettingsRemoveRegularKey.json similarity index 100% rename from test/fixtures/responses/prepare-settings-remove-regular-key.json rename to test/fixtures/responses/prepareSettingsRemoveRegularKey.json diff --git a/test/fixtures/responses/prepare-settings-set-transfer-rate.json b/test/fixtures/responses/prepareSettingsSetTransferRate.json similarity index 100% rename from test/fixtures/responses/prepare-settings-set-transfer-rate.json rename to test/fixtures/responses/prepareSettingsSetTransferRate.json diff --git a/test/fixtures/responses/prepare-settings-signed.json b/test/fixtures/responses/prepareSettingsSigned.json similarity index 100% rename from test/fixtures/responses/prepare-settings-signed.json rename to test/fixtures/responses/prepareSettingsSigned.json diff --git a/test/fixtures/responses/prepare-settings-signers.json b/test/fixtures/responses/prepareSettingsSigners.json similarity index 100% rename from test/fixtures/responses/prepare-settings-signers.json rename to test/fixtures/responses/prepareSettingsSigners.json diff --git a/test/fixtures/responses/prepare-settings-ticket.json b/test/fixtures/responses/prepareSettingsTicket.json similarity index 100% rename from test/fixtures/responses/prepare-settings-ticket.json rename to test/fixtures/responses/prepareSettingsTicket.json diff --git a/test/fixtures/responses/prepare-ticket-create.json b/test/fixtures/responses/prepareTicketCreate.json similarity index 100% rename from test/fixtures/responses/prepare-ticket-create.json rename to test/fixtures/responses/prepareTicketCreate.json diff --git a/test/fixtures/responses/prepare-trustline.json b/test/fixtures/responses/prepareTrustline.json similarity index 100% rename from test/fixtures/responses/prepare-trustline.json rename to test/fixtures/responses/prepareTrustline.json diff --git a/test/fixtures/responses/prepare-trustline-frozen.json b/test/fixtures/responses/prepareTrustlineFrozen.json similarity index 100% rename from test/fixtures/responses/prepare-trustline-frozen.json rename to test/fixtures/responses/prepareTrustlineFrozen.json diff --git a/test/fixtures/responses/prepare-trustline-issuer-xaddress.json b/test/fixtures/responses/prepareTrustlineIssuerXaddress.json similarity index 100% rename from test/fixtures/responses/prepare-trustline-issuer-xaddress.json rename to test/fixtures/responses/prepareTrustlineIssuerXaddress.json diff --git a/test/fixtures/responses/prepare-trustline-simple.json b/test/fixtures/responses/prepareTrustlineSimple.json similarity index 100% rename from test/fixtures/responses/prepare-trustline-simple.json rename to test/fixtures/responses/prepareTrustlineSimple.json diff --git a/test/fixtures/responses/prepare-trustline-ticket.json b/test/fixtures/responses/prepareTrustlineTicket.json similarity index 100% rename from test/fixtures/responses/prepare-trustline-ticket.json rename to test/fixtures/responses/prepareTrustlineTicket.json diff --git a/test/fixtures/responses/sign-as.json b/test/fixtures/responses/signAs.json similarity index 100% rename from test/fixtures/responses/sign-as.json rename to test/fixtures/responses/signAs.json diff --git a/test/fixtures/responses/sign-escrow.json b/test/fixtures/responses/signEscrow.json similarity index 100% rename from test/fixtures/responses/sign-escrow.json rename to test/fixtures/responses/signEscrow.json diff --git a/test/fixtures/responses/sign-payment-channel-claim.json b/test/fixtures/responses/signPaymentChannelClaim.json similarity index 100% rename from test/fixtures/responses/sign-payment-channel-claim.json rename to test/fixtures/responses/signPaymentChannelClaim.json diff --git a/test/fixtures/responses/sign-ticket.json b/test/fixtures/responses/signTicket.json similarity index 100% rename from test/fixtures/responses/sign-ticket.json rename to test/fixtures/responses/signTicket.json diff --git a/test/fixtures/responses/trustline-item.json b/test/fixtures/responses/trustlineItem.json similarity index 100% rename from test/fixtures/responses/trustline-item.json rename to test/fixtures/responses/trustlineItem.json diff --git a/test/fixtures/rippled/account-info.json b/test/fixtures/rippled/accountInfo.json similarity index 100% rename from test/fixtures/rippled/account-info.json rename to test/fixtures/rippled/accountInfo.json diff --git a/test/fixtures/rippled/account-info-not-found.json b/test/fixtures/rippled/accountInfoNotFound.json similarity index 100% rename from test/fixtures/rippled/account-info-not-found.json rename to test/fixtures/rippled/accountInfoNotFound.json diff --git a/test/fixtures/rippled/account-lines.js b/test/fixtures/rippled/accountLines.js similarity index 100% rename from test/fixtures/rippled/account-lines.js rename to test/fixtures/rippled/accountLines.js diff --git a/test/fixtures/rippled/account-objects-normal.json b/test/fixtures/rippled/accountObjectsNormal.json similarity index 100% rename from test/fixtures/rippled/account-objects-normal.json rename to test/fixtures/rippled/accountObjectsNormal.json diff --git a/test/fixtures/rippled/account-offers.js b/test/fixtures/rippled/accountOffers.js similarity index 100% rename from test/fixtures/rippled/account-offers.js rename to test/fixtures/rippled/accountOffers.js diff --git a/test/fixtures/rippled/account-tx.js b/test/fixtures/rippled/accountTx.js similarity index 98% rename from test/fixtures/rippled/account-tx.js rename to test/fixtures/rippled/accountTx.js index 0d4304e4..09759213 100644 --- a/test/fixtures/rippled/account-tx.js +++ b/test/fixtures/rippled/accountTx.js @@ -3,8 +3,8 @@ const _ = require('lodash'); const hashes = require('../hashes'); const addresses = require('../addresses'); -const AccountSet = require('./tx/account-set.json'); -const NotFound = require('./tx/not-found.json'); +const AccountSet = require('./tx/accountSet.json'); +const NotFound = require('./tx/notFound.json'); const binary = require('ripple-binary-codec'); module.exports = function(request, options = {}) { diff --git a/test/fixtures/rippled/book-offers.js b/test/fixtures/rippled/bookOffers.js similarity index 100% rename from test/fixtures/rippled/book-offers.js rename to test/fixtures/rippled/bookOffers.js diff --git a/test/fixtures/rippled/book-offers-usd-xrp.json b/test/fixtures/rippled/bookOffersUsdXrp.json similarity index 100% rename from test/fixtures/rippled/book-offers-usd-xrp.json rename to test/fixtures/rippled/bookOffersUsdXrp.json diff --git a/test/fixtures/rippled/book-offers-xrp-usd.json b/test/fixtures/rippled/bookOffersXrpUsd.json similarity index 100% rename from test/fixtures/rippled/book-offers-xrp-usd.json rename to test/fixtures/rippled/bookOffersXrpUsd.json diff --git a/test/fixtures/rippled/gateway-balances.json b/test/fixtures/rippled/gatewayBalances.json similarity index 100% rename from test/fixtures/rippled/gateway-balances.json rename to test/fixtures/rippled/gatewayBalances.json diff --git a/test/fixtures/rippled/get-transactions-one.json b/test/fixtures/rippled/getTransactionsOne.json similarity index 100% rename from test/fixtures/rippled/get-transactions-one.json rename to test/fixtures/rippled/getTransactionsOne.json diff --git a/test/fixtures/rippled/index.js b/test/fixtures/rippled/index.js index 836b672c..061eee04 100644 --- a/test/fixtures/rippled/index.js +++ b/test/fixtures/rippled/index.js @@ -3,120 +3,122 @@ module.exports = { submit: { success: require('./submit'), - failure: require('./submit-failed') + failure: require('./submitFailed') }, ledger: { normal: require('./ledger'), - normalByHash: require('./ledger-by-hash'), - notFound: require('./ledger-not-found'), - withoutCloseTime: require('./ledger-without-close-time'), - withSettingsTx: require('./ledger-with-settings-tx'), - withStateAsHashes: require('./ledger-with-state-as-hashes'), - withPartialPayment: require('./ledger-with-partial-payment'), - pre2014withPartial: require('./ledger-pre2014-with-partial') + normalByHash: require('./ledgerByHash'), + notFound: require('./ledgerNotFound'), + withoutCloseTime: require('./ledgerWithoutCloseTime'), + withSettingsTx: require('./ledgerWithSettingsTx'), + withStateAsHashes: require('./ledgerWithStateAsHashes'), + withPartialPayment: require('./ledgerWithPartialPayment'), + pre2014withPartial: require('./ledgerPre2014WithPartial') }, fee: require('./fee'), empty: require('./empty'), - subscribe: require('./subscribe'), - subscribe_error: require('./subscribe_error'), + subscribe: { + success: require('./subscribe'), + error: require('./subscribeError') + }, unsubscribe: require('./unsubscribe'), account_objects: { - normal: require('./account-objects-normal'), - // notfound: require('./account-objects-not-found') + normal: require('./accountObjectsNormal'), + // notfound: require('./accountObjectsNotFound') }, account_info: { - normal: require('./account-info'), - notfound: require('./account-info-not-found') + normal: require('./accountInfo'), + notfound: require('./accountInfoNotFound') }, - account_offers: require('./account-offers'), + account_offers: require('./accountOffers'), account_tx: { - normal: require('./account-tx'), - one: require('./get-transactions-one') + normal: require('./accountTx'), + one: require('./getTransactionsOne') }, escrow: require('./escrow'), - gateway_balances: require('./gateway-balances'), + gateway_balances: require('./gatewayBalances'), book_offers: { - fabric: require('./book-offers'), - usd_xrp: require('./book-offers-usd-xrp'), - xrp_usd: require('./book-offers-xrp-usd') + fabric: require('./bookOffers'), + usd_xrp: require('./bookOffersUsdXrp'), + xrp_usd: require('./bookOffersXrpUsd') }, ledger_data: { - first_page: require('./ledger-data-first-page'), - last_page: require('./ledger-data-last-page') + first_page: require('./ledgerDataFirstPage'), + last_page: require('./ledgerDataLastPage') }, ledger_entry: { - error: require('./ledger-entry-error') + error: require('./ledgerEntryError') }, server_info: { - normal: require('./server-info'), - noValidated: require('./server-info-no-validated'), - syncing: require('./server-info-syncing'), - error: require('./server-info-error'), - reporting: require('./server-info-reporting'), - highLoadFactor: require('./server-info-high-load-factor') + normal: require('./serverInfo'), + noValidated: require('./serverInfoNoValidated'), + syncing: require('./serverInfoSyncing'), + error: require('./serverInfoError'), + reporting: require('./serverInfoReporting'), + highLoadFactor: require('./serverInfoHighLoadFactor') }, path_find: { - generate: require('./path-find'), - sendUSD: require('./path-find-send-usd'), - sendAll: require('./path-find-send-all'), - XrpToXrp: require('./path-find-xrp-to-xrp'), - srcActNotFound: require('./path-find-srcActNotFound'), - sourceAmountLow: require('./path-find-srcAmtLow') + generate: require('./pathFind'), + sendUSD: require('./pathFindSendUsd'), + sendAll: require('./pathFindSendAll'), + XrpToXrp: require('./pathFindXrpToXrp'), + srcActNotFound: require('./pathFindSrcActNotFound'), + sourceAmountLow: require('./pathFindSrcAmtLow') }, payment_channel: { - normal: require('./payment-channel'), - full: require('./payment-channel-full') + normal: require('./paymentChannel'), + full: require('./paymentChannelFull') }, tx: { Payment: require('./tx/payment.json'), - AccountSet: require('./tx/account-set.json'), - AccountSetTrackingOn: require('./tx/account-set-tracking-on.json'), - AccountSetTrackingOff: require('./tx/account-set-tracking-off.json'), - RegularKey: require('./tx/set-regular-key.json'), - OfferCreate: require('./tx/offer-create.json'), - OfferCreateWithMemo: require('./tx/offer-create-with-memo.json'), - OfferCreateSell: require('./tx/offer-create-sell.json'), - OfferCancel: require('./tx/offer-cancel.json'), - OfferCancelWithMemo: require('./tx/offer-cancel-with-memo.json'), - TrustSet: require('./tx/trust-set.json'), - TrustSetFrozenOff: require('./tx/trust-set-frozen-off.json'), - TrustSetNoQuality: require('./tx/trust-set-no-quality.json'), - TrustSetAddMemo: require('./tx/trust-set-add-memo.json'), - NotFound: require('./tx/not-found.json'), - NoLedgerIndex: require('./tx/no-ledger-index.json'), - NoLedgerFound: require('./tx/no-ledger-found.json'), - LedgerWithoutTime: require('./tx/ledger-without-time.json'), - NotValidated: require('./tx/not-validated.json'), - OfferWithExpiration: require('./tx/order-with-expiration.json'), - CheckCreate: require('./tx/check-create.json'), - CheckCreateWithMemo: require('./tx/check-create-with-memo.json'), - CheckCancel: require('./tx/check-cancel.json'), - CheckCancelWithMemo: require('./tx/check-cancel-with-memo.json'), - CheckCash: require('./tx/check-cash.json'), - CheckCashWithMemo: require('./tx/check-cash-with-memo.json'), - EscrowCreation: require('./tx/escrow-creation.json'), + AccountSet: require('./tx/accountSet.json'), + AccountSetTrackingOn: require('./tx/accountSetTrackingOn.json'), + AccountSetTrackingOff: require('./tx/accountSetTrackingOff.json'), + RegularKey: require('./tx/setRegularKey.json'), + OfferCreate: require('./tx/offerCreate.json'), + OfferCreateWithMemo: require('./tx/offerCreateWithMemo.json'), + OfferCreateSell: require('./tx/offerCreateSell.json'), + OfferCancel: require('./tx/offerCancel.json'), + OfferCancelWithMemo: require('./tx/offerCancelWithMemo.json'), + TrustSet: require('./tx/trustSet.json'), + TrustSetFrozenOff: require('./tx/trustSetFrozenOff.json'), + TrustSetNoQuality: require('./tx/trustSetNoQuality.json'), + TrustSetAddMemo: require('./tx/trustSetAddMemo.json'), + NotFound: require('./tx/notFound.json'), + NoLedgerIndex: require('./tx/noLedgerIndex.json'), + NoLedgerFound: require('./tx/noLedgerFound.json'), + LedgerWithoutTime: require('./tx/ledgerWithoutTime.json'), + NotValidated: require('./tx/notValidated.json'), + OfferWithExpiration: require('./tx/orderWithExpiration.json'), + CheckCreate: require('./tx/checkCreate.json'), + CheckCreateWithMemo: require('./tx/checkCreateWithMemo.json'), + CheckCancel: require('./tx/checkCancel.json'), + CheckCancelWithMemo: require('./tx/checkCancelWithMemo.json'), + CheckCash: require('./tx/checkCash.json'), + CheckCashWithMemo: require('./tx/checkCashWithMemo.json'), + EscrowCreation: require('./tx/escrowCreation.json'), EscrowCancellation: - require('./tx/escrow-cancellation.json'), - EscrowExecution: require('./tx/escrow-execution.json'), + require('./tx/escrowCancellation.json'), + EscrowExecution: require('./tx/escrowExecution.json'), EscrowExecutionSimple: - require('./tx/escrow-execution-simple.json'), - PaymentChannelCreate: require('./tx/payment-channel-create.json'), - PaymentChannelCreateWithMemo: require('./tx/payment-channel-create-with-memo.json'), - PaymentChannelFund: require('./tx/payment-channel-fund.json'), - PaymentChannelFundWithMemo: require('./tx/payment-channel-fund-with-memo.json'), - PaymentChannelClaim: require('./tx/payment-channel-claim.json'), - PaymentChannelClaimWithMemo: require('./tx/payment-channel-claim-with-memo.json'), + require('./tx/escrowExecutionSimple.json'), + PaymentChannelCreate: require('./tx/paymentChannelCreate.json'), + PaymentChannelCreateWithMemo: require('./tx/paymentChannelCreateWithMemo.json'), + PaymentChannelFund: require('./tx/paymentChannelFund.json'), + PaymentChannelFundWithMemo: require('./tx/paymentChannelFundWithMemo.json'), + PaymentChannelClaim: require('./tx/paymentChannelClaim.json'), + PaymentChannelClaimWithMemo: require('./tx/paymentChannelClaimWithMemo.json'), Unrecognized: require('./tx/unrecognized.json'), - NoMeta: require('./tx/no-meta.json'), - LedgerZero: require('./tx/ledger-zero.json'), + NoMeta: require('./tx/noMeta.json'), + LedgerZero: require('./tx/ledgerZero.json'), Amendment: require('./tx/amendment.json'), - SetFee: require('./tx/set-fee.json'), - SetFeeWithMemo: require('./tx/set-fee-with-memo.json'), - TicketCreateWithMemo: require('./tx/ticket-create-with-memo.json'), - DepositPreauthWithMemo: require('./tx/deposit-preauth-with-memo.json'), - AccountDelete: require('./tx/account-delete.json'), - AccountDeleteWithMemo: require('./tx/account-delete-with-memo.json'), - WithMemo: require('./tx/with-memo.json'), - WithMemos: require('./tx/with-memos.json') + SetFee: require('./tx/setFee.json'), + SetFeeWithMemo: require('./tx/setFeeWithMemo.json'), + TicketCreateWithMemo: require('./tx/ticketCreateWithMemo.json'), + DepositPreauthWithMemo: require('./tx/depositPreauthWithMemo.json'), + AccountDelete: require('./tx/accountDelete.json'), + AccountDeleteWithMemo: require('./tx/accountDeleteWithMemo.json'), + WithMemo: require('./tx/withMemo.json'), + WithMemos: require('./tx/withMemos.json') } }; diff --git a/test/fixtures/rippled/ledger-by-hash.json b/test/fixtures/rippled/ledgerByHash.json similarity index 100% rename from test/fixtures/rippled/ledger-by-hash.json rename to test/fixtures/rippled/ledgerByHash.json diff --git a/test/fixtures/rippled/ledger-close.json b/test/fixtures/rippled/ledgerClose.json similarity index 100% rename from test/fixtures/rippled/ledger-close.json rename to test/fixtures/rippled/ledgerClose.json diff --git a/test/fixtures/rippled/ledger-close-newer.json b/test/fixtures/rippled/ledgerCloseNewer.json similarity index 100% rename from test/fixtures/rippled/ledger-close-newer.json rename to test/fixtures/rippled/ledgerCloseNewer.json diff --git a/test/fixtures/rippled/ledger-data-first-page.json b/test/fixtures/rippled/ledgerDataFirstPage.json similarity index 100% rename from test/fixtures/rippled/ledger-data-first-page.json rename to test/fixtures/rippled/ledgerDataFirstPage.json diff --git a/test/fixtures/rippled/ledger-data-last-page.json b/test/fixtures/rippled/ledgerDataLastPage.json similarity index 100% rename from test/fixtures/rippled/ledger-data-last-page.json rename to test/fixtures/rippled/ledgerDataLastPage.json diff --git a/test/fixtures/rippled/ledger-entry-error.json b/test/fixtures/rippled/ledgerEntryError.json similarity index 100% rename from test/fixtures/rippled/ledger-entry-error.json rename to test/fixtures/rippled/ledgerEntryError.json diff --git a/test/fixtures/rippled/ledger-full-38129.json b/test/fixtures/rippled/ledgerFull38129.json similarity index 100% rename from test/fixtures/rippled/ledger-full-38129.json rename to test/fixtures/rippled/ledgerFull38129.json diff --git a/test/fixtures/rippled/ledger-full-40000.json b/test/fixtures/rippled/ledgerFull40000.json similarity index 100% rename from test/fixtures/rippled/ledger-full-40000.json rename to test/fixtures/rippled/ledgerFull40000.json diff --git a/test/fixtures/rippled/ledger-full-7501326.json b/test/fixtures/rippled/ledgerFull7501326.json similarity index 100% rename from test/fixtures/rippled/ledger-full-7501326.json rename to test/fixtures/rippled/ledgerFull7501326.json diff --git a/test/fixtures/rippled/ledger-not-found.json b/test/fixtures/rippled/ledgerNotFound.json similarity index 100% rename from test/fixtures/rippled/ledger-not-found.json rename to test/fixtures/rippled/ledgerNotFound.json diff --git a/test/fixtures/rippled/ledger-pre2014-with-partial.json b/test/fixtures/rippled/ledgerPre2014WithPartial.json similarity index 100% rename from test/fixtures/rippled/ledger-pre2014-with-partial.json rename to test/fixtures/rippled/ledgerPre2014WithPartial.json diff --git a/test/fixtures/rippled/ledger-with-partial-payment.json b/test/fixtures/rippled/ledgerWithPartialPayment.json similarity index 100% rename from test/fixtures/rippled/ledger-with-partial-payment.json rename to test/fixtures/rippled/ledgerWithPartialPayment.json diff --git a/test/fixtures/rippled/ledger-with-settings-tx.json b/test/fixtures/rippled/ledgerWithSettingsTx.json similarity index 100% rename from test/fixtures/rippled/ledger-with-settings-tx.json rename to test/fixtures/rippled/ledgerWithSettingsTx.json diff --git a/test/fixtures/rippled/ledger-with-state-as-hashes.json b/test/fixtures/rippled/ledgerWithStateAsHashes.json similarity index 100% rename from test/fixtures/rippled/ledger-with-state-as-hashes.json rename to test/fixtures/rippled/ledgerWithStateAsHashes.json diff --git a/test/fixtures/rippled/ledger-without-close-time.json b/test/fixtures/rippled/ledgerWithoutCloseTime.json similarity index 100% rename from test/fixtures/rippled/ledger-without-close-time.json rename to test/fixtures/rippled/ledgerWithoutCloseTime.json diff --git a/test/fixtures/rippled/path-find.js b/test/fixtures/rippled/pathFind.js similarity index 100% rename from test/fixtures/rippled/path-find.js rename to test/fixtures/rippled/pathFind.js diff --git a/test/fixtures/rippled/path-find-send-all.json b/test/fixtures/rippled/pathFindSendAll.json similarity index 100% rename from test/fixtures/rippled/path-find-send-all.json rename to test/fixtures/rippled/pathFindSendAll.json diff --git a/test/fixtures/rippled/path-find-send-usd.json b/test/fixtures/rippled/pathFindSendUsd.json similarity index 100% rename from test/fixtures/rippled/path-find-send-usd.json rename to test/fixtures/rippled/pathFindSendUsd.json diff --git a/test/fixtures/rippled/path-find-srcActNotFound.json b/test/fixtures/rippled/pathFindSrcActNotFound.json similarity index 100% rename from test/fixtures/rippled/path-find-srcActNotFound.json rename to test/fixtures/rippled/pathFindSrcActNotFound.json diff --git a/test/fixtures/rippled/path-find-srcAmtLow.json b/test/fixtures/rippled/pathFindSrcAmtLow.json similarity index 100% rename from test/fixtures/rippled/path-find-srcAmtLow.json rename to test/fixtures/rippled/pathFindSrcAmtLow.json diff --git a/test/fixtures/rippled/path-find-xrp-to-xrp.json b/test/fixtures/rippled/pathFindXrpToXrp.json similarity index 100% rename from test/fixtures/rippled/path-find-xrp-to-xrp.json rename to test/fixtures/rippled/pathFindXrpToXrp.json diff --git a/test/fixtures/rippled/payment-channel.json b/test/fixtures/rippled/paymentChannel.json similarity index 100% rename from test/fixtures/rippled/payment-channel.json rename to test/fixtures/rippled/paymentChannel.json diff --git a/test/fixtures/rippled/payment-channel-full.json b/test/fixtures/rippled/paymentChannelFull.json similarity index 100% rename from test/fixtures/rippled/payment-channel-full.json rename to test/fixtures/rippled/paymentChannelFull.json diff --git a/test/fixtures/rippled/requests/1-taker_gets-XRP-taker_pays-JPY.json b/test/fixtures/rippled/requests/1Taker_getsXrpTaker_paysJpy.json similarity index 100% rename from test/fixtures/rippled/requests/1-taker_gets-XRP-taker_pays-JPY.json rename to test/fixtures/rippled/requests/1Taker_getsXrpTaker_paysJpy.json diff --git a/test/fixtures/rippled/requests/2-taker_gets-JPY-taker_pays-XRP.json b/test/fixtures/rippled/requests/2Taker_getsJpyTaker_paysXrp.json similarity index 100% rename from test/fixtures/rippled/requests/2-taker_gets-JPY-taker_pays-XRP.json rename to test/fixtures/rippled/requests/2Taker_getsJpyTaker_paysXrp.json diff --git a/test/fixtures/rippled/requests/3-taker_gets-USD-taker_pays-XRP.json b/test/fixtures/rippled/requests/3Taker_getsUsdTaker_paysXrp.json similarity index 100% rename from test/fixtures/rippled/requests/3-taker_gets-USD-taker_pays-XRP.json rename to test/fixtures/rippled/requests/3Taker_getsUsdTaker_paysXrp.json diff --git a/test/fixtures/rippled/requests/4-taker_gets-XRP-taker_pays-USD.json b/test/fixtures/rippled/requests/4Taker_getsXrpTaker_paysUsd.json similarity index 100% rename from test/fixtures/rippled/requests/4-taker_gets-XRP-taker_pays-USD.json rename to test/fixtures/rippled/requests/4Taker_getsXrpTaker_paysUsd.json diff --git a/test/fixtures/rippled/responses/1-taker_gets-XRP-taker_pays-JPY-res.json b/test/fixtures/rippled/responses/1Taker_getsXrpTaker_paysJpyRes.json similarity index 100% rename from test/fixtures/rippled/responses/1-taker_gets-XRP-taker_pays-JPY-res.json rename to test/fixtures/rippled/responses/1Taker_getsXrpTaker_paysJpyRes.json diff --git a/test/fixtures/rippled/responses/2-taker_gets-JPY-taker_pays-XRP-res.json b/test/fixtures/rippled/responses/2Taker_getsJpyTaker_paysXrpRes.json similarity index 100% rename from test/fixtures/rippled/responses/2-taker_gets-JPY-taker_pays-XRP-res.json rename to test/fixtures/rippled/responses/2Taker_getsJpyTaker_paysXrpRes.json diff --git a/test/fixtures/rippled/responses/3-taker_gets-USD-taker_pays-XRP-res.json b/test/fixtures/rippled/responses/3Taker_getsUsdTaker_paysXrpRes.json similarity index 100% rename from test/fixtures/rippled/responses/3-taker_gets-USD-taker_pays-XRP-res.json rename to test/fixtures/rippled/responses/3Taker_getsUsdTaker_paysXrpRes.json diff --git a/test/fixtures/rippled/responses/4-taker_gets-XRP-taker_pays-USD-res.json b/test/fixtures/rippled/responses/4Taker_getsXrpTaker_paysUsdRes.json similarity index 100% rename from test/fixtures/rippled/responses/4-taker_gets-XRP-taker_pays-USD-res.json rename to test/fixtures/rippled/responses/4Taker_getsXrpTaker_paysUsdRes.json diff --git a/test/fixtures/rippled/server-info.json b/test/fixtures/rippled/serverInfo.json similarity index 100% rename from test/fixtures/rippled/server-info.json rename to test/fixtures/rippled/serverInfo.json diff --git a/test/fixtures/rippled/server-info-error.json b/test/fixtures/rippled/serverInfoError.json similarity index 100% rename from test/fixtures/rippled/server-info-error.json rename to test/fixtures/rippled/serverInfoError.json diff --git a/test/fixtures/rippled/server-info-high-load-factor.json b/test/fixtures/rippled/serverInfoHighLoadFactor.json similarity index 100% rename from test/fixtures/rippled/server-info-high-load-factor.json rename to test/fixtures/rippled/serverInfoHighLoadFactor.json diff --git a/test/fixtures/rippled/server-info-no-validated.json b/test/fixtures/rippled/serverInfoNoValidated.json similarity index 100% rename from test/fixtures/rippled/server-info-no-validated.json rename to test/fixtures/rippled/serverInfoNoValidated.json diff --git a/test/fixtures/rippled/server-info-reporting.json b/test/fixtures/rippled/serverInfoReporting.json similarity index 100% rename from test/fixtures/rippled/server-info-reporting.json rename to test/fixtures/rippled/serverInfoReporting.json diff --git a/test/fixtures/rippled/server-info-syncing.json b/test/fixtures/rippled/serverInfoSyncing.json similarity index 100% rename from test/fixtures/rippled/server-info-syncing.json rename to test/fixtures/rippled/serverInfoSyncing.json diff --git a/test/fixtures/rippled/submit-failed.json b/test/fixtures/rippled/submitFailed.json similarity index 100% rename from test/fixtures/rippled/submit-failed.json rename to test/fixtures/rippled/submitFailed.json diff --git a/test/fixtures/rippled/subscribe_error.json b/test/fixtures/rippled/subscribeError.json similarity index 100% rename from test/fixtures/rippled/subscribe_error.json rename to test/fixtures/rippled/subscribeError.json diff --git a/test/fixtures/rippled/tx/account-delete.json b/test/fixtures/rippled/tx/accountDelete.json similarity index 100% rename from test/fixtures/rippled/tx/account-delete.json rename to test/fixtures/rippled/tx/accountDelete.json diff --git a/test/fixtures/rippled/tx/account-delete-with-memo.json b/test/fixtures/rippled/tx/accountDeleteWithMemo.json similarity index 100% rename from test/fixtures/rippled/tx/account-delete-with-memo.json rename to test/fixtures/rippled/tx/accountDeleteWithMemo.json diff --git a/test/fixtures/rippled/tx/account-set.json b/test/fixtures/rippled/tx/accountSet.json similarity index 100% rename from test/fixtures/rippled/tx/account-set.json rename to test/fixtures/rippled/tx/accountSet.json diff --git a/test/fixtures/rippled/tx/account-set-tracking-off.json b/test/fixtures/rippled/tx/accountSetTrackingOff.json similarity index 100% rename from test/fixtures/rippled/tx/account-set-tracking-off.json rename to test/fixtures/rippled/tx/accountSetTrackingOff.json diff --git a/test/fixtures/rippled/tx/account-set-tracking-on.json b/test/fixtures/rippled/tx/accountSetTrackingOn.json similarity index 100% rename from test/fixtures/rippled/tx/account-set-tracking-on.json rename to test/fixtures/rippled/tx/accountSetTrackingOn.json diff --git a/test/fixtures/rippled/tx/check-cancel.json b/test/fixtures/rippled/tx/checkCancel.json similarity index 100% rename from test/fixtures/rippled/tx/check-cancel.json rename to test/fixtures/rippled/tx/checkCancel.json diff --git a/test/fixtures/rippled/tx/check-cancel-with-memo.json b/test/fixtures/rippled/tx/checkCancelWithMemo.json similarity index 100% rename from test/fixtures/rippled/tx/check-cancel-with-memo.json rename to test/fixtures/rippled/tx/checkCancelWithMemo.json diff --git a/test/fixtures/rippled/tx/check-cash.json b/test/fixtures/rippled/tx/checkCash.json similarity index 100% rename from test/fixtures/rippled/tx/check-cash.json rename to test/fixtures/rippled/tx/checkCash.json diff --git a/test/fixtures/rippled/tx/check-cash-with-memo.json b/test/fixtures/rippled/tx/checkCashWithMemo.json similarity index 100% rename from test/fixtures/rippled/tx/check-cash-with-memo.json rename to test/fixtures/rippled/tx/checkCashWithMemo.json diff --git a/test/fixtures/rippled/tx/check-create.json b/test/fixtures/rippled/tx/checkCreate.json similarity index 100% rename from test/fixtures/rippled/tx/check-create.json rename to test/fixtures/rippled/tx/checkCreate.json diff --git a/test/fixtures/rippled/tx/check-create-with-memo.json b/test/fixtures/rippled/tx/checkCreateWithMemo.json similarity index 100% rename from test/fixtures/rippled/tx/check-create-with-memo.json rename to test/fixtures/rippled/tx/checkCreateWithMemo.json diff --git a/test/fixtures/rippled/tx/deposit-preauth-with-memo.json b/test/fixtures/rippled/tx/depositPreauthWithMemo.json similarity index 100% rename from test/fixtures/rippled/tx/deposit-preauth-with-memo.json rename to test/fixtures/rippled/tx/depositPreauthWithMemo.json diff --git a/test/fixtures/rippled/tx/escrow-cancellation.json b/test/fixtures/rippled/tx/escrowCancellation.json similarity index 100% rename from test/fixtures/rippled/tx/escrow-cancellation.json rename to test/fixtures/rippled/tx/escrowCancellation.json diff --git a/test/fixtures/rippled/tx/escrow-creation.json b/test/fixtures/rippled/tx/escrowCreation.json similarity index 100% rename from test/fixtures/rippled/tx/escrow-creation.json rename to test/fixtures/rippled/tx/escrowCreation.json diff --git a/test/fixtures/rippled/tx/escrow-creation-iou.json b/test/fixtures/rippled/tx/escrowCreationIou.json similarity index 100% rename from test/fixtures/rippled/tx/escrow-creation-iou.json rename to test/fixtures/rippled/tx/escrowCreationIou.json diff --git a/test/fixtures/rippled/tx/escrow-execution.json b/test/fixtures/rippled/tx/escrowExecution.json similarity index 100% rename from test/fixtures/rippled/tx/escrow-execution.json rename to test/fixtures/rippled/tx/escrowExecution.json diff --git a/test/fixtures/rippled/tx/escrow-execution-simple.json b/test/fixtures/rippled/tx/escrowExecutionSimple.json similarity index 100% rename from test/fixtures/rippled/tx/escrow-execution-simple.json rename to test/fixtures/rippled/tx/escrowExecutionSimple.json diff --git a/test/fixtures/rippled/tx/ledger-without-time.json b/test/fixtures/rippled/tx/ledgerWithoutTime.json similarity index 100% rename from test/fixtures/rippled/tx/ledger-without-time.json rename to test/fixtures/rippled/tx/ledgerWithoutTime.json diff --git a/test/fixtures/rippled/tx/ledger-zero.json b/test/fixtures/rippled/tx/ledgerZero.json similarity index 100% rename from test/fixtures/rippled/tx/ledger-zero.json rename to test/fixtures/rippled/tx/ledgerZero.json diff --git a/test/fixtures/rippled/tx/no-ledger-found.json b/test/fixtures/rippled/tx/noLedgerFound.json similarity index 100% rename from test/fixtures/rippled/tx/no-ledger-found.json rename to test/fixtures/rippled/tx/noLedgerFound.json diff --git a/test/fixtures/rippled/tx/no-ledger-index.json b/test/fixtures/rippled/tx/noLedgerIndex.json similarity index 100% rename from test/fixtures/rippled/tx/no-ledger-index.json rename to test/fixtures/rippled/tx/noLedgerIndex.json diff --git a/test/fixtures/rippled/tx/no-meta.json b/test/fixtures/rippled/tx/noMeta.json similarity index 100% rename from test/fixtures/rippled/tx/no-meta.json rename to test/fixtures/rippled/tx/noMeta.json diff --git a/test/fixtures/rippled/tx/not-found.json b/test/fixtures/rippled/tx/notFound.json similarity index 100% rename from test/fixtures/rippled/tx/not-found.json rename to test/fixtures/rippled/tx/notFound.json diff --git a/test/fixtures/rippled/tx/not-validated.json b/test/fixtures/rippled/tx/notValidated.json similarity index 100% rename from test/fixtures/rippled/tx/not-validated.json rename to test/fixtures/rippled/tx/notValidated.json diff --git a/test/fixtures/rippled/tx/offer-cancel.json b/test/fixtures/rippled/tx/offerCancel.json similarity index 100% rename from test/fixtures/rippled/tx/offer-cancel.json rename to test/fixtures/rippled/tx/offerCancel.json diff --git a/test/fixtures/rippled/tx/offer-cancel-with-memo.json b/test/fixtures/rippled/tx/offerCancelWithMemo.json similarity index 100% rename from test/fixtures/rippled/tx/offer-cancel-with-memo.json rename to test/fixtures/rippled/tx/offerCancelWithMemo.json diff --git a/test/fixtures/rippled/tx/offer-create.json b/test/fixtures/rippled/tx/offerCreate.json similarity index 100% rename from test/fixtures/rippled/tx/offer-create.json rename to test/fixtures/rippled/tx/offerCreate.json diff --git a/test/fixtures/rippled/tx/offer-create-sell.json b/test/fixtures/rippled/tx/offerCreateSell.json similarity index 100% rename from test/fixtures/rippled/tx/offer-create-sell.json rename to test/fixtures/rippled/tx/offerCreateSell.json diff --git a/test/fixtures/rippled/tx/offer-create-with-memo.json b/test/fixtures/rippled/tx/offerCreateWithMemo.json similarity index 100% rename from test/fixtures/rippled/tx/offer-create-with-memo.json rename to test/fixtures/rippled/tx/offerCreateWithMemo.json diff --git a/test/fixtures/rippled/tx/order-with-expiration.json b/test/fixtures/rippled/tx/orderWithExpiration.json similarity index 100% rename from test/fixtures/rippled/tx/order-with-expiration.json rename to test/fixtures/rippled/tx/orderWithExpiration.json diff --git a/test/fixtures/rippled/tx/payment-channel-claim.json b/test/fixtures/rippled/tx/paymentChannelClaim.json similarity index 100% rename from test/fixtures/rippled/tx/payment-channel-claim.json rename to test/fixtures/rippled/tx/paymentChannelClaim.json diff --git a/test/fixtures/rippled/tx/payment-channel-claim-with-memo.json b/test/fixtures/rippled/tx/paymentChannelClaimWithMemo.json similarity index 100% rename from test/fixtures/rippled/tx/payment-channel-claim-with-memo.json rename to test/fixtures/rippled/tx/paymentChannelClaimWithMemo.json diff --git a/test/fixtures/rippled/tx/payment-channel-create.json b/test/fixtures/rippled/tx/paymentChannelCreate.json similarity index 100% rename from test/fixtures/rippled/tx/payment-channel-create.json rename to test/fixtures/rippled/tx/paymentChannelCreate.json diff --git a/test/fixtures/rippled/tx/payment-channel-create-with-memo.json b/test/fixtures/rippled/tx/paymentChannelCreateWithMemo.json similarity index 100% rename from test/fixtures/rippled/tx/payment-channel-create-with-memo.json rename to test/fixtures/rippled/tx/paymentChannelCreateWithMemo.json diff --git a/test/fixtures/rippled/tx/payment-channel-fund.json b/test/fixtures/rippled/tx/paymentChannelFund.json similarity index 100% rename from test/fixtures/rippled/tx/payment-channel-fund.json rename to test/fixtures/rippled/tx/paymentChannelFund.json diff --git a/test/fixtures/rippled/tx/payment-channel-fund-with-memo.json b/test/fixtures/rippled/tx/paymentChannelFundWithMemo.json similarity index 100% rename from test/fixtures/rippled/tx/payment-channel-fund-with-memo.json rename to test/fixtures/rippled/tx/paymentChannelFundWithMemo.json diff --git a/test/fixtures/rippled/tx/set-fee.json b/test/fixtures/rippled/tx/setFee.json similarity index 100% rename from test/fixtures/rippled/tx/set-fee.json rename to test/fixtures/rippled/tx/setFee.json diff --git a/test/fixtures/rippled/tx/set-fee-with-memo.json b/test/fixtures/rippled/tx/setFeeWithMemo.json similarity index 100% rename from test/fixtures/rippled/tx/set-fee-with-memo.json rename to test/fixtures/rippled/tx/setFeeWithMemo.json diff --git a/test/fixtures/rippled/tx/set-regular-key.json b/test/fixtures/rippled/tx/setRegularKey.json similarity index 100% rename from test/fixtures/rippled/tx/set-regular-key.json rename to test/fixtures/rippled/tx/setRegularKey.json diff --git a/test/fixtures/rippled/tx/ticket-create-with-memo.json b/test/fixtures/rippled/tx/ticketCreateWithMemo.json similarity index 100% rename from test/fixtures/rippled/tx/ticket-create-with-memo.json rename to test/fixtures/rippled/tx/ticketCreateWithMemo.json diff --git a/test/fixtures/rippled/tx/trust-set.json b/test/fixtures/rippled/tx/trustSet.json similarity index 100% rename from test/fixtures/rippled/tx/trust-set.json rename to test/fixtures/rippled/tx/trustSet.json diff --git a/test/fixtures/rippled/tx/trust-set-add-memo.json b/test/fixtures/rippled/tx/trustSetAddMemo.json similarity index 100% rename from test/fixtures/rippled/tx/trust-set-add-memo.json rename to test/fixtures/rippled/tx/trustSetAddMemo.json diff --git a/test/fixtures/rippled/tx/trust-set-frozen-off.json b/test/fixtures/rippled/tx/trustSetFrozenOff.json similarity index 100% rename from test/fixtures/rippled/tx/trust-set-frozen-off.json rename to test/fixtures/rippled/tx/trustSetFrozenOff.json diff --git a/test/fixtures/rippled/tx/trust-set-no-quality.json b/test/fixtures/rippled/tx/trustSetNoQuality.json similarity index 100% rename from test/fixtures/rippled/tx/trust-set-no-quality.json rename to test/fixtures/rippled/tx/trustSetNoQuality.json diff --git a/test/fixtures/rippled/tx/with-memo.json b/test/fixtures/rippled/tx/withMemo.json similarity index 100% rename from test/fixtures/rippled/tx/with-memo.json rename to test/fixtures/rippled/tx/withMemo.json diff --git a/test/fixtures/rippled/tx/with-memos.json b/test/fixtures/rippled/tx/withMemos.json similarity index 100% rename from test/fixtures/rippled/tx/with-memos.json rename to test/fixtures/rippled/tx/withMemos.json diff --git a/test/integration/README b/test/integration/README index 0b32609a..ed36a48d 100644 --- a/test/integration/README +++ b/test/integration/README @@ -1,5 +1,5 @@ To run integration tests: -1. Replace 'describe.skip' with 'describe' in test/integration/integration-test.js +1. Replace 'describe.skip' with 'describe' in test/integration/integration.js 2. Create a file at ~/.ripple_wallet containing a JSON object like this with your own test address and secret. { @@ -8,4 +8,4 @@ To run integration tests: "secret": "shsWGZcmZz6YsWWmcnpfr6fLTdtFV" } } -3. Run "mocha test/integration/integration-test.js" +3. Run "mocha test/integration/integration.js" diff --git a/test/integration/integration-test.ts b/test/integration/integration.ts similarity index 100% rename from test/integration/integration-test.ts rename to test/integration/integration.ts diff --git a/test/localintegrationrunner.html b/test/localIntegrationRunner.html similarity index 89% rename from test/localintegrationrunner.html rename to test/localIntegrationRunner.html index d2cbfbea..9a44b2a2 100644 --- a/test/localintegrationrunner.html +++ b/test/localIntegrationRunner.html @@ -17,7 +17,7 @@ mocha.ui('bdd') - + - + - + - + - + - + - + - + - +