Tests: give the key box test's comp a frame rate, so its keys stay on whole seconds

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Bar Borer
2026-11-03 03:57:05 +02:00
co-authored by Claude Opus 5.5
parent 34b3e13d54
commit 5593c6e8b3
+1 -1
View File
@@ -652,7 +652,7 @@ fn a_keys_glyph_rect_is_what_it_draws() {
#[test]
fn keys_in_box_walks_the_rows_and_tests_each_glyph() {
let mut s = effectcraft_engine::Session::default();
s.execute("comp.new", json!({"name": "C", "width": 64, "height": 64, "duration": 4})).unwrap();
s.execute("comp.new", json!({"name": "C", "width": 64, "height": 64, "duration": 4, "frameRate": 30})).unwrap();
let mut layers = vec![];
for name in ["A", "B"] {
let id = s.execute("layer.newSolid", json!({"name": name, "color": "#fff"})).unwrap()["layer"].as_u64().unwrap();