eee
This commit is contained in:
parent
f86d23bac0
commit
4ab5186cb6
|
@ -69,6 +69,7 @@ hostname = "0.3.1"
|
|||
getrandom = { version = "0.2.12", features = ["js"] }
|
||||
ws_stream_wasm = "0.7.4"
|
||||
wasm-bindgen-futures = "0.4.39"
|
||||
wasm-glue = "0.1.0"
|
||||
|
||||
[dev-dependencies]
|
||||
lazy_static = "1.4.0"
|
||||
|
|
|
@ -26,6 +26,10 @@ async fn test_gateway_establish() {
|
|||
async fn test_gateway_authenticate() {
|
||||
let bundle = common::setup().await;
|
||||
|
||||
// Make println! work
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
wasm_glue::hook();
|
||||
|
||||
let gateway: GatewayHandle = Gateway::spawn(bundle.urls.wss.clone()).await.unwrap();
|
||||
|
||||
let mut identify = types::GatewayIdentifyPayload::common();
|
||||
|
|
Loading…
Reference in New Issue