#[must_use]
pub const fn index_html() -> &'static str {
include_str!("../assets/index.html")
}
#[must_use]
pub const fn app_js() -> &'static str {
include_str!("../assets/app.js")
}
#[must_use]
pub const fn app_css() -> &'static str {
include_str!("../assets/app.css")
}
#[must_use]
pub const fn globals_css() -> &'static str {
include_str!("../assets/globals.css")
}
#[cfg(test)]
mod tests {
use super::{app_css, app_js, globals_css, index_html};
#[test]
fn embeds_a_self_contained_distribution() {
assert!(index_html().contains("/app.js"));
assert!(index_html().contains("/globals.css"));
assert!(!app_js().is_empty());
assert!(!app_css().is_empty());
assert!(!globals_css().is_empty());
}
}