#![cfg(feature = "component")]
use std::env::var;
mod common;
#[test]
fn test_components() {
let Some(mut c) = common::skip_unsupported(sinf::component::Components::new()) else {
return;
};
assert!(c.is_empty());
// Components cannot be retrieved in CI.
if cfg!(windows) || var("CI").is_ok() {
return;
}
c.refresh(false);
assert!(!c.is_empty());
}