Skip to content

Commit

Permalink
enable test for BuildArgs with typescript and unity bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
lambda-0x committed Jan 21, 2024
1 parent f748e29 commit 1698689
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions crates/sozo/src/commands/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,11 @@ mod tests {

use super::BuildArgs;

// this adds considerable time to test suite, should this be enabled by default?
#[ignore]
#[test]
fn build_example() {
fn build_example_with_typescript_and_unity_bindings() {
let config = build_test_config("../../examples/spawn-and-move/Scarb.toml").unwrap();

let build_args = BuildArgs { typescript: false, unity: false };
let build_args = BuildArgs { typescript: true, unity: true };
let result = build_args.run(&config);
assert!(result.is_ok());
}
Expand Down

0 comments on commit 1698689

Please sign in to comment.