code: pushing tests to > 80% for initial satisfaction.

This commit is contained in:
2025-01-14 16:52:29 +01:00
parent 4ae38adc8e
commit f6a2c892cd
2 changed files with 31 additions and 4 deletions

View File

@@ -12,6 +12,10 @@ use minijinja_autoreload::AutoReloader;
use serde::Serialize;
use std::{marker::PhantomData, path::Path, sync::Arc};
#[cfg(feature = "testing")]
const TEMPLATES_DIR: &str = "tests";
#[cfg(not(feature = "testing"))]
const TEMPLATES_DIR: &str = "assets/templates";
#[derive(Clone)]