2023-05-27 22:51:57 +02:00
|
|
|
mod common;
|
2023-11-20 14:03:06 +01:00
|
|
|
// PRETTYFYME: Move common wasm setup to common.rs
|
|
|
|
#[cfg(target_arch = "wasm32")]
|
|
|
|
use wasm_bindgen_test::*;
|
|
|
|
#[cfg(target_arch = "wasm32")]
|
|
|
|
wasm_bindgen_test_configure!(run_in_browser);
|
|
|
|
|
2023-05-27 22:51:57 +02:00
|
|
|
#[tokio::test]
|
|
|
|
async fn generate_general_configuration_schema() {
|
|
|
|
let bundle = common::setup().await;
|
|
|
|
bundle
|
|
|
|
.instance
|
|
|
|
.general_configuration_schema()
|
|
|
|
.await
|
|
|
|
.unwrap();
|
|
|
|
common::teardown(bundle).await;
|
|
|
|
}
|