add test fixtures

This commit is contained in:
Jonas Kruckenberg 2022-11-03 18:52:21 +01:00
parent b3e477ed18
commit 5db7b4ada1
42 changed files with 6332 additions and 0 deletions

View file

@ -0,0 +1,10 @@
use anyhow::ensure;
use tauri_sys::{event, tauri};
pub async fn emit() -> anyhow::Result<()> {
event::emit("foo", &"bar").await;
ensure!(tauri::invoke::<_, bool>("verify_receive", &()).await.unwrap());
Ok(())
}