Run Integration Tests in Browser (#1468)

* ci: Adds github actions testing for webpacked integration test
This commit is contained in:
Nathan Nichols
2021-08-02 14:29:35 -07:00
committed by GitHub
parent 25a2bcd3be
commit 76780c8a8e
9 changed files with 3518 additions and 3142 deletions

View File

@@ -12,10 +12,12 @@ import {isValidSecret} from 'ripple-api/common/utils'
const TIMEOUT = 20000
const INTERVAL = 1000 // how long to wait between checks for validated ledger
const HOST = process.env.HOST ?? "127.0.0.1"
const HOST = process.env.HOST ?? "0.0.0.0"
const PORT = process.env.PORT ?? "6006"
const serverUrl = `ws://${HOST}:${PORT}`
console.log(serverUrl)
function acceptLedger(api) {
return api.connection.request({command: 'ledger_accept'})
}