fix: lack of .model.json support

This commit is contained in:
astrid 2025-12-15 20:26:25 +01:00
parent 5c396322d9
commit 790312a5b0
No known key found for this signature in database
GPG key ID: AA294F1DF4FC88A3
11 changed files with 80 additions and 13 deletions

View file

@ -56,6 +56,7 @@ gen_build_tests! {
server_in_folder,
server_init,
slugified_name_roundtrip,
model_json_name_input,
txt,
txt_in_folder,
unresolved_values,

View file

@ -89,4 +89,6 @@ syncback_tests! {
// Ensures that instances with names containing illegal characters get slugified filenames
// and preserve their original names in meta.json
slugified_name => ["src/_Script/init.meta.json", "src/_Script/init.server.luau", "src/_Folder/init.meta.json"],
// Ensures that .model.json files preserve the name property
model_json_name => ["src/foo.model.json"],
}