Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: windows ci

Louis Beaumont8c6bbe0287f0
diff --git a/screenpipe-vision/tests/windows_vision_test.rs b/screenpipe-vision/tests/windows_vision_test.rs
index e625114b7..3a4f465ff 100644
--- a/screenpipe-vision/tests/windows_vision_test.rs
+++ b/screenpipe-vision/tests/windows_vision_test.rs
@@ -1,6 +1,7 @@
#[cfg(target_os = "windows")]
#[cfg(test)]
mod tests {
+ use screenpipe_vision::monitor::get_default_monitor;
use screenpipe_vision::{process_ocr_task, OcrEngine};
use std::sync::Arc;
use std::{path::PathBuf, time::Instant};
@@ -49,7 +50,7 @@ mod tests {
let (result_tx, mut result_rx) = mpsc::channel::<CaptureResult>(10);
// Create a mock monitor
- let monitor = get_monitor().await;
+ let monitor = get_default_monitor().await.id();
// Set up test parameters
let interval = Duration::from_millis(1000);