fix: number sort (#2570)

* chore: remove sign

* fix: sort number

* chore: update patch

* ci: fix dart test

* chore: fmt
This commit is contained in:
Nathan.fooo
2023-05-21 11:13:22 +08:00
committed by GitHub
parent bb681bdd1e
commit 6c31cf9555
23 changed files with 291 additions and 689 deletions

View File

@ -1,4 +1,5 @@
use nanoid::nanoid;
use std::env::temp_dir;
use flowy_core::{AppFlowyCore, AppFlowyCoreConfig};
use flowy_net::http_server::self_host::configuration::get_client_server_configuration;
@ -37,8 +38,8 @@ impl std::default::Default for FlowySDKTest {
impl FlowySDKTest {
pub fn new() -> Self {
let server_config = get_client_server_configuration().unwrap();
let config =
AppFlowyCoreConfig::new(&root_dir(), nanoid!(6), server_config).log_filter("info", vec![]);
let config = AppFlowyCoreConfig::new(temp_dir().to_str().unwrap(), nanoid!(6), server_config)
.log_filter("info", vec![]);
let sdk = std::thread::spawn(|| AppFlowyCore::new(config))
.join()
.unwrap();