Suppress warnings for test scaffolding code (allow dead_code)
This commit is contained in:
parent
629df5f039
commit
56fdfab2c4
2 changed files with 9 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
#![allow(dead_code)]
|
||||
#![allow(unused_imports)]
|
||||
#![allow(unused_variables)]
|
||||
|
||||
pub mod bot;
|
||||
pub mod desktop;
|
||||
pub mod fixtures;
|
||||
|
|
|
|||
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue