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: update PI_READY_TIMEOUT test assertion to match 200ms value

Louis Beaumont361f16f66d0b
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/pi.rs b/apps/screenpipe-app-tauri/src-tauri/src/pi.rs
index bb2810302..9c8ec92ff 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/pi.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/pi.rs
@@ -2582,7 +2582,7 @@ mod tests {
/// Test PI_READY_TIMEOUT constant is sensible
#[test]
fn test_ready_timeout_constant() {
- assert_eq!(super::PI_READY_TIMEOUT.as_secs(), 2);
+ assert_eq!(super::PI_READY_TIMEOUT.as_millis(), 200);
}
// -- read_lines_lossy unit tests --