mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-23 06:05:24 +00:00
Snapshot tests for JSON models
This commit is contained in:
26
src/snapshot_middleware/snapshots/test__model_from_imfs.snap
Normal file
26
src/snapshot_middleware/snapshots/test__model_from_imfs.snap
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
source: src/snapshot_middleware/json_model.rs
|
||||
expression: instance_snapshot
|
||||
---
|
||||
snapshot_id: ~
|
||||
metadata:
|
||||
ignore_unknown_instances: false
|
||||
contributing_paths:
|
||||
- /foo.model.json
|
||||
project_node: ~
|
||||
name: foo
|
||||
class_name: IntValue
|
||||
properties:
|
||||
Value:
|
||||
Type: Int32
|
||||
Value: 5
|
||||
children:
|
||||
- snapshot_id: ~
|
||||
metadata:
|
||||
ignore_unknown_instances: false
|
||||
contributing_paths: []
|
||||
project_node: ~
|
||||
name: The Child
|
||||
class_name: StringValue
|
||||
properties: {}
|
||||
children: []
|
||||
Reference in New Issue
Block a user