#[cfg(all(feature = "ast", feature = "language"))]
#[test]
fn test_reexports_work() {
use thread::language::{LanguageExt, Tsx};
let ast = Tsx.ast_grep("const x = 1;");
let matches: Vec<_> = ast.root().find_all("const $VAR = $VALUE").collect();
assert_eq!(matches.len(), 1);
}
#[cfg(all(feature = "ast", feature = "services"))]
#[test]
fn test_service_reexports_work() {
use thread::services::FileSystemContext;
let _ctx = FileSystemContext::new(".");
}