react-traits 0.3.0

Scan React components and report their traits
Documentation
1
2
3
4
5
6
7
8
use std::path::PathBuf;

pub fn fixture(category: &str, name: &str) -> PathBuf {
    PathBuf::from(env!("CARGO_MANIFEST_DIR"))
        .join("../../fixtures")
        .join(category)
        .join(name)
}