mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-19 19:55:51 +00:00
Run Integration Tests in Browser (#1468)
* ci: Adds github actions testing for webpacked integration test
This commit is contained in:
@@ -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'})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user