use use_astro::{AstroConfigFile, AstroIntegrationName, AstroRenderingMode};
fn main() -> Result<(), use_astro::AstroTextError> {
let integration = AstroIntegrationName::new("@astrojs/mdx")?;
assert_eq!(integration.as_str(), "@astrojs/mdx");
assert_eq!(AstroRenderingMode::Hybrid.as_str(), "hybrid");
assert_eq!(AstroConfigFile::AstroConfigTs.as_str(), "astro.config.ts");
Ok(())
}