mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 10:34:17 +00:00
change utest
This commit is contained in:
parent
4c63cdcadb
commit
a30cc243a6
@ -94,19 +94,15 @@ async function _main() {
|
|||||||
await server.initialize()
|
await server.initialize()
|
||||||
await clientBridge.initialize()
|
await clientBridge.initialize()
|
||||||
|
|
||||||
// const test = await clientBridge.endpoints.get.test()
|
const test = await clientBridge.endpoints.get.test()
|
||||||
// const crashTest = await clientBridge.endpoints.get.crashtest().catch(error => {
|
const crashTest = await clientBridge.endpoints.get.crashtest().catch(error => {
|
||||||
// console.log(error)
|
console.log(error)
|
||||||
// return false
|
return "Crash test passed!"
|
||||||
// })
|
})
|
||||||
// const deleteTest = await clientBridge.endpoints.delete.test({
|
|
||||||
// a: "test"
|
|
||||||
// })
|
|
||||||
const wsEpicEvent = await clientBridge.wsEndpoints.epicEvent("Hello", "World")
|
const wsEpicEvent = await clientBridge.wsEndpoints.epicEvent("Hello", "World")
|
||||||
|
|
||||||
// console.log(`[get.test] > ${test}`)
|
console.log(`[get.test] > ${test}`)
|
||||||
// console.log(`[get.crashtest] > ${crashTest}`)
|
console.log(`[get.crashtest] > ${crashTest}`)
|
||||||
// console.log(`[delete.test] > ${deleteTest}`)
|
|
||||||
console.log(`[ws.epicEvent] > ${wsEpicEvent}`)
|
console.log(`[ws.epicEvent] > ${wsEpicEvent}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user