mirror of
https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-service.git
synced 2026-09-21 16:52:03 -07:00
21 lines
454 B
JavaScript
21 lines
454 B
JavaScript
/*
|
|
An end-to-end (e2e) test simulating a client connecting over IPFS and
|
|
that exercises each JSON RPC endpoint.
|
|
*/
|
|
|
|
const TestUtils = require('./lib/test-utils')
|
|
const testUtils = new TestUtils()
|
|
|
|
const testData = require('./test-data.json')
|
|
|
|
async function startTest () {
|
|
try {
|
|
await testUtils.startIpfs()
|
|
|
|
await testUtils.connectToUut(testData.uutAddr)
|
|
} catch (err) {
|
|
console.error('Error in startTest(): ', err)
|
|
}
|
|
}
|
|
startTest()
|