chore: rename test files (#2181)

This commit is contained in:
justinr1234
2023-01-06 14:04:36 -06:00
committed by GitHub
parent 9e74f94c44
commit 8abcfe4640
122 changed files with 49 additions and 50 deletions

View File

@@ -50,7 +50,7 @@
"docgen": "typedoc && echo js.xrpl.org >> ../../docs/CNAME",
"prepublish": "run-s clean build",
"test": "nyc mocha --config=test/.mocharc.json --exit",
"test:integration": "TS_NODE_PROJECT=tsconfig.build.json nyc mocha ./test/integration/**/*.ts ./test/integration/*.ts",
"test:integration": "TS_NODE_PROJECT=tsconfig.build.json nyc mocha ./test/integration/**/*.test.ts ./test/integration/*.test.ts",
"test:browser": "npm run build:browserTests && TS_NODE_PROJECT=tsconfig.build.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'",

View File

@@ -1,6 +1,6 @@
{
"diff": true,
"spec": ["./test/*.ts", "./test/models/**/*.ts", "./test/utils/**/*.ts", "./test/wallet/**/*.ts"],
"spec": ["./test/*.test.ts", "./test/models/**/*.test.ts", "./test/utils/**/*.test.ts", "./test/wallet/**/*.test.ts"],
"extension": ["ts"],
"package": "../package.json",
"require": "ts-node/register",
@@ -12,7 +12,7 @@
"ui": "bdd",
"watch-files": [
"src/**/*.ts",
"test/**/*.ts"
"test/**/*.test.ts"
],
"watch-ignore": [
"test/node_modules/**/*",

View File

@@ -1,6 +1,5 @@
import { assert } from 'chai'
import ExponentialBackoff from '../src/client/ExponentialBackoff'
import ExponentialBackoff from 'xrpl-local/client/ExponentialBackoff'
describe('ExponentialBackoff', function () {
it('duration() return value starts with the min value', function () {

View File

@@ -1,7 +1,6 @@
import { assert } from 'chai'
import _ from 'lodash'
import { ServerInfoResponse } from '../src'
import { ServerInfoResponse } from 'xrpl-local'
import responses from './fixtures/responses'
import rippled from './fixtures/rippled'

View File

@@ -1,46 +1,46 @@
/* eslint-disable import/export -- Tells webpack which files exist. */
export * from './transactions/signerListSet'
export * from './transactions/payment'
export * from './transactions/offerCreate'
export * from './transactions/offerCancel'
export * from './transactions/signerListSet'
export * from './transactions/checkCancel'
export * from './transactions/checkCash'
export * from './transactions/checkCreate'
export * from './transactions/depositPreauth'
export * from './transactions/paymentChannelCreate'
export * from './transactions/paymentChannelClaim'
export * from './transactions/paymentChannelFund'
export * from './transactions/trustSet'
export * from './transactions/signerListSet.test'
export * from './transactions/payment.test'
export * from './transactions/offerCreate.test'
export * from './transactions/offerCancel.test'
export * from './transactions/signerListSet.test'
export * from './transactions/checkCancel.test'
export * from './transactions/checkCash.test'
export * from './transactions/checkCreate.test'
export * from './transactions/depositPreauth.test'
export * from './transactions/paymentChannelCreate.test'
export * from './transactions/paymentChannelClaim.test'
export * from './transactions/paymentChannelFund.test'
export * from './transactions/trustSet.test'
export * from './requests/accountChannels'
export * from './requests/accountCurrencies'
export * from './requests/accountInfo'
export * from './requests/accountLines'
export * from './requests/accountObjects'
export * from './requests/accountOffers'
export * from './requests/accountTx'
export * from './requests/bookOffers'
export * from './requests/channelVerify'
export * from './requests/depositAuthorized'
export * from './requests/gatewayBalances'
export * from './requests/ledger'
export * from './requests/ledgerClosed'
export * from './requests/ledgerCurrent'
export * from './requests/ledgerData'
export * from './requests/ledgerEntry'
export * from './requests/submitMultisigned'
export * from './requests/noRippleCheck'
export * from './requests/pathFind'
export * from './requests/ripplePathFind'
export * from './requests/submit'
export * from './requests/subscribe'
export * from './requests/tx'
export * from './requests/utility'
export * from './requests/accountChannels.test'
export * from './requests/accountCurrencies.test'
export * from './requests/accountInfo.test'
export * from './requests/accountLines.test'
export * from './requests/accountObjects.test'
export * from './requests/accountOffers.test'
export * from './requests/accountTx.test'
export * from './requests/bookOffers.test'
export * from './requests/channelVerify.test'
export * from './requests/depositAuthorized.test'
export * from './requests/gatewayBalances.test'
export * from './requests/ledger.test'
export * from './requests/ledgerClosed.test'
export * from './requests/ledgerCurrent.test'
export * from './requests/ledgerData.test'
export * from './requests/ledgerEntry.test'
export * from './requests/submitMultisigned.test'
export * from './requests/noRippleCheck.test'
export * from './requests/pathFind.test'
export * from './requests/ripplePathFind.test'
export * from './requests/submit.test'
export * from './requests/subscribe.test'
export * from './requests/tx.test'
export * from './requests/utility.test'
export * from './fundWallet'
export * from './integration'
export * from './regularKey'
export * from './fundWallet.test'
export * from './integration.test'
export * from './regularKey.test'
// Ensure you export all added tests above "export * from './finalTest'", otherwise they will not be run.
export * from './finalTest'
export * from './finalTest.test'

View File

@@ -1,3 +1,4 @@
/* eslint-disable consistent-default-export-name/default-export-match-filename -- This is a test file. */
import { Wallet } from 'xrpl-local'
const walletSecret = 'shK6YXzwYfnFVn3YZSaMh5zuAddKx'

Some files were not shown because too many files have changed in this diff Show More