mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 22:11:38 +00:00
Add project configuration and test files in JSON5 format
- Introduced new configuration files for testing, including `default.project.json5`, `client_in_folder`, and others. - Updated existing project files to use JSON5 format, ensuring consistency across configurations. - Added new Lua scripts and model files to support various test cases. - Adjusted snapshot files to align with the new project structure and properties.
This commit is contained in:
parent
779e3de0ae
commit
84f76d48fc
118 changed files with 75 additions and 97 deletions
|
|
@ -75,7 +75,7 @@ mod test {
|
|||
fn instance_from_vfs() {
|
||||
let mut imfs = InMemoryFs::new();
|
||||
imfs.load_snapshot(
|
||||
"/foo.json",
|
||||
"/foo.json5",
|
||||
VfsSnapshot::file(
|
||||
r#"{
|
||||
"array": [1, 2, 3],
|
||||
|
|
@ -98,7 +98,7 @@ mod test {
|
|||
let instance_snapshot = snapshot_json(
|
||||
&InstanceContext::default(),
|
||||
&vfs,
|
||||
Path::new("/foo.json"),
|
||||
Path::new("/foo.json5"),
|
||||
"foo",
|
||||
)
|
||||
.unwrap()
|
||||
|
|
@ -111,7 +111,7 @@ mod test {
|
|||
fn with_metadata() {
|
||||
let mut imfs = InMemoryFs::new();
|
||||
imfs.load_snapshot(
|
||||
"/foo.json",
|
||||
"/foo.json5",
|
||||
VfsSnapshot::file(
|
||||
r#"{
|
||||
"array": [1, 2, 3],
|
||||
|
|
@ -136,7 +136,7 @@ mod test {
|
|||
let instance_snapshot = snapshot_json(
|
||||
&InstanceContext::default(),
|
||||
&vfs,
|
||||
Path::new("/foo.json"),
|
||||
Path::new("/foo.json5"),
|
||||
"foo",
|
||||
)
|
||||
.unwrap()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue