mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-10-19 03:50:12 +00:00

* refactor: user manager * refactor: user manager * refactor: session location * refactor: user manager * chore: gen ts files * feat: implement indexeddb persistence * chore: integrate user manager * chore: update * chore: run on web thread * chore: run on web thread * chore: fix test * chore: add test * chore: add test * chore: add user & sign in with password * chore: fix test * chore: update docs * chore: fix warnings * chore: gen files * chore: add user * chore: add files * chore: update config * chore: update scirpt * chore: update scirpt * fix: build * chore: update command * fix: ci * ci: fix * fix: compile * fix: compile * fix: ci * fix: compile * fix: tauri build * chore: fix test * chore: fix test
11 lines
343 B
Rust
11 lines
343 B
Rust
use crate::util::tester::{unique_email, WASMEventTester};
|
|
use wasm_bindgen_test::wasm_bindgen_test;
|
|
|
|
#[wasm_bindgen_test]
|
|
async fn sign_up_event_test() {
|
|
let tester = WASMEventTester::new().await;
|
|
let email = unique_email();
|
|
let user_profile = tester.sign_in_with_email(&email).await.unwrap();
|
|
assert_eq!(user_profile.email, email);
|
|
}
|