diff --git a/minecraft-chat/tests/integration_test.rs b/minecraft-chat/tests/integration_test.rs new file mode 100644 index 00000000..46e18457 --- /dev/null +++ b/minecraft-chat/tests/integration_test.rs @@ -0,0 +1,13 @@ +use minecraft_chat::component::Component; +use serde_json::{Result, Value}; + +#[test] +fn test() { + let j: Value = serde_json::from_str( + r#"{ + "text":"hello" + }"#, + ) + .unwrap(); + let component = Component::new(&j).unwrap(); +}