2024-01-30 17:19:34 +01:00
|
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2023-05-27 22:51:57 +02:00
|
|
|
mod common;
|
2023-11-20 14:03:06 +01:00
|
|
|
#[cfg(target_arch = "wasm32")]
|
|
|
|
use wasm_bindgen_test::*;
|
|
|
|
#[cfg(target_arch = "wasm32")]
|
|
|
|
wasm_bindgen_test_configure!(run_in_browser);
|
|
|
|
|
2023-11-22 14:39:32 +01:00
|
|
|
#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)]
|
|
|
|
#[cfg_attr(not(target_arch = "wasm32"), tokio::test)]
|
2023-05-27 22:51:57 +02:00
|
|
|
async fn generate_general_configuration_schema() {
|
|
|
|
let bundle = common::setup().await;
|
|
|
|
bundle
|
|
|
|
.instance
|
|
|
|
.general_configuration_schema()
|
|
|
|
.await
|
|
|
|
.unwrap();
|
|
|
|
common::teardown(bundle).await;
|
|
|
|
}
|