Merge pull request #1017 from zeroclaw-labs/test/peripherals-unit-tests

test(peripherals): add unit tests for peripheral module configuration and listing
This commit is contained in:
Alex Gorevski 2026-02-19 16:17:07 -08:00 committed by GitHub
commit 7d945aea6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 73 additions and 1 deletions

View file

@ -7,7 +7,9 @@ use serde::{Deserialize, Serialize};
use std::collections::HashMap;
use std::path::{Path, PathBuf};
use std::sync::{OnceLock, RwLock};
use tokio::fs::{self, File, OpenOptions};
use tokio::fs::{self, OpenOptions};
#[cfg(unix)]
use tokio::fs::File;
use tokio::io::AsyncWriteExt;
const SUPPORTED_PROXY_SERVICE_KEYS: &[&str] = &[