feat: Jest Test Runner (#2170)

This commit is contained in:
justinr1234
2023-02-03 17:03:07 -06:00
committed by GitHub
parent 5a63f18faf
commit 5fe480ece4
229 changed files with 13497 additions and 17033 deletions

View File

@@ -4,7 +4,7 @@ import {
PaymentChannelCreate,
PaymentChannelClaim,
hashes,
} from '../../dist/npm'
} from '../../src'
const client = new Client('wss://s.altnet.rippletest.net:51233')

View File

@@ -1,4 +1,4 @@
import { Client, LedgerResponse, TxResponse } from '../../dist/npm'
import { Client, LedgerResponse, TxResponse } from '../../src'
const client = new Client('wss://s.altnet.rippletest.net:51233')

View File

@@ -4,7 +4,7 @@ import {
AccountSet,
convertStringToHex,
SignerListSet,
} from '../../dist/npm'
} from '../../src'
const client = new Client('wss://s.altnet.rippletest.net:51233')

View File

@@ -1,4 +1,4 @@
import { Client, Payment, PaymentFlags, TrustSet } from '../../dist/npm'
import { Client, Payment, PaymentFlags, TrustSet } from '../../src'
const client = new Client('wss://s.altnet.rippletest.net:51233')

View File

@@ -1,4 +1,4 @@
import { Client, Payment, RipplePathFindResponse } from '../../dist/npm'
import { Client, Payment, RipplePathFindResponse } from '../../src'
const client = new Client('wss://s.altnet.rippletest.net:51233')

View File

@@ -1,4 +1,4 @@
import { Client, Payment } from '../../dist/npm'
import { Client, Payment } from '../../src'
/**
* When implementing Reliable Transaction Submission, there are many potential solutions, each with different trade-offs.

View File

@@ -4,7 +4,7 @@ import {
EscrowCreate,
EscrowFinish,
isoTimeToRippleTime,
} from '../../dist/npm'
} from '../../src'
const client = new Client('wss://s.altnet.rippletest.net:51233')

View File

@@ -1,4 +1,4 @@
import { Client, Payment, SetRegularKey } from '../../dist/npm'
import { Client, Payment, SetRegularKey } from '../../src'
const client = new Client('wss://s.altnet.rippletest.net:51233')

View File

@@ -1,7 +1,7 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"rootDir": "./src"
"rootDir": "../../xrpl"
},
"include": ["./src/**/*.ts"]
"include": ["./src/**/*.ts", "../src/**/*.ts", "../src/**/*.json"]
}