diff --git a/smart-house-web/backend/Cargo.toml b/smart-house-web/backend/Cargo.toml index d64875f..8eedad5 100644 --- a/smart-house-web/backend/Cargo.toml +++ b/smart-house-web/backend/Cargo.toml @@ -10,3 +10,6 @@ tokio = { version = "1.52", features = ["rt", "rt-multi-thread", "signal", "time axum = "0.8" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" + +[dev-dependencies] +hyper = "1.9.0" diff --git a/smart-house-web/backend/tests/api_tests.rs b/smart-house-web/backend/tests/api_tests.rs new file mode 100644 index 0000000..97bcadc --- /dev/null +++ b/smart-house-web/backend/tests/api_tests.rs @@ -0,0 +1,4 @@ +#[tokio::test(flavor = "current_thread")] +async fn smoke() { + println!("Hello test!") +}