Suppress warnings for test scaffolding code (allow dead_code)

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-12-17 11:27:18 -03:00
parent 629df5f039
commit 56fdfab2c4
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,7 @@
#![allow(dead_code)]
#![allow(unused_imports)]
#![allow(unused_variables)]
pub mod bot;
pub mod desktop;
pub mod fixtures;

View file

@ -1,3 +1,7 @@
#![allow(dead_code)]
#![allow(unused_imports)]
#![allow(unused_variables)]
use anyhow::Result;
use std::env;
use std::path::PathBuf;
@ -516,7 +520,7 @@ async fn run_browser_demo() -> Result<()> {
// Use CDP directly via BrowserService
let debug_port = 9222u16;
let mut browser_service = match services::BrowserService::start(debug_port).await {
Ok(bs) => bs,
Err(e) => {