Add ServeSession test for project with folder

This commit is contained in:
Lucien Greathouse
2019-10-08 13:57:40 -07:00
parent 4e47655b17
commit 3bd8549f41
2 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
---
source: src/serve_session.rs
expression: "view_tree(&session.tree(), &mut rm)"
---
id: id-1
name: HelloWorld
class_name: Folder
properties: {}
metadata:
ignore_unknown_instances: false
instigating_source:
Path: /foo/default.project.json
relevant_paths:
- /foo/src
- /foo/default.project.json
children:
- id: id-2
name: hello
class_name: StringValue
properties:
Value:
Type: String
Value: "Hello, world!"
metadata:
ignore_unknown_instances: false
instigating_source:
Path: /foo/src/hello.txt
relevant_paths:
- /foo/src/hello.txt
children: []