mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-09-28 18:01:52 +00:00
22 lines
392 B
Rust
22 lines
392 B
Rust
pub mod builder;
|
|
mod helper;
|
|
mod tester;
|
|
|
|
use crate::helper::root_dir;
|
|
use flowy_sdk::FlowySDK;
|
|
use std::sync::Once;
|
|
|
|
pub mod prelude {
|
|
pub use crate::{builder::*, helper::*};
|
|
pub use flowy_dispatch::prelude::*;
|
|
}
|
|
|
|
static INIT: Once = Once::new();
|
|
pub fn init_test_sdk() {
|
|
let root_dir = root_dir();
|
|
|
|
INIT.call_once(|| {
|
|
FlowySDK::construct_with(&root_dir);
|
|
});
|
|
}
|