diff --git a/crates/token/src/lib.cairo b/crates/token/src/lib.cairo index 6d54fb8b..85f7cfa2 100644 --- a/crates/token/src/lib.cairo +++ b/crates/token/src/lib.cairo @@ -50,7 +50,10 @@ mod presets { } } -#[cfg(test)] +// This ensures that the tests libs are also available +// for downstream crates using origami_token, without running +// origami tokens. +#[cfg(target: "test")] mod tests { mod constants; mod utils;