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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
Remove run_js test
Neptunef04aff5944ec
diff --git a/screenpipe-audio/tests/windows_output_device_tests.rs b/screenpipe-audio/tests/windows_output_device_tests.rsindex ceba57ffb..af4bdd71d 100644--- a/screenpipe-audio/tests/windows_output_device_tests.rs+++ b/screenpipe-audio/tests/windows_output_device_tests.rs@@ -1,7 +1,7 @@#[cfg(target_os = "windows")]#[cfg(test)]mod tests {- use screenpipe_audio::{list_audio_devices, record_and_transcribe};+ use screenpipe_audio::{list_audio_devices, record_and_transcribe, AudioInput};use std::{path::PathBuf,diff --git a/screenpipe-core/tests/pipes_test.rs b/screenpipe-core/tests/pipes_test.rsindex cea0d6c6f..11ef9432b 100644--- a/screenpipe-core/tests/pipes_test.rs+++ b/screenpipe-core/tests/pipes_test.rs@@ -23,35 +23,6 @@ mod tests {set_global_default(subscriber).expect("Failed to set tracing subscriber");});}- #[tokio::test]- #[ignore]- async fn test_js_execution() {- init();- let code = r#"- function add(a, b) {- return a + b;- }- add(2, 3);- console.log("Hello, world!");- const response = await pipe.get("https://jsonplaceholder.typicode.com/todos/1");- console.log(response);- "#;-- // write code to a file- let file_path = "test.js";- let mut file = File::create(file_path).await.unwrap();- file.write_all(code.as_bytes()).await.unwrap();- file.flush().await.unwrap();- // Test a simple JavaScript function- let temp_dir = TempDir::new().unwrap();- let screenpipe_dir = temp_dir.path().to_path_buf();-- let result = run_js("", file_path, screenpipe_dir).await;-- assert!(result.is_ok());- println!("result: {:?}", result);- // remove_file(file_path).await.unwrap();- }async fn setup_test_pipe(temp_dir: &TempDir, pipe_name: &str, code: &str) -> PathBuf {init();