|
@@ -0,0 +1,22 @@
|
|
1
|
+use wasm_bindgen_test::*;
|
|
2
|
+
|
|
3
|
+wasm_bindgen_test_configure!(run_in_browser);
|
|
4
|
+
|
|
5
|
+#[wasm_bindgen_test]
|
|
6
|
+async fn pass() {
|
|
7
|
+ console_log!("Test Passed");
|
|
8
|
+}
|
|
9
|
+
|
|
10
|
+#[wasm_bindgen_test]
|
|
11
|
+async fn key_exchange() {
|
|
12
|
+ // temporary for docker testing
|
|
13
|
+ let resp = reqwest::get("http://key-exchange:3000/meeting").await;
|
|
14
|
+ console_log!("{resp:?}");
|
|
15
|
+}
|
|
16
|
+
|
|
17
|
+#[wasm_bindgen_test]
|
|
18
|
+async fn sandbox() {
|
|
19
|
+ // temporary for docker testing
|
|
20
|
+ let resp = reqwest::get("http://sandbox:3030").await;
|
|
21
|
+ console_log!("{resp:?}");
|
|
22
|
+}
|