Skip to content

Commit

Permalink
fix: ensure correct export of test utils (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm authored Jul 30, 2024
1 parent 65a1e49 commit 229d36a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/token/src/lib.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 229d36a

Please sign in to comment.