Add contributing paths to SnapshotLua, switch to Insta tests

This commit is contained in:
Lucien Greathouse
2019-10-01 14:09:05 -07:00
parent 7be5b36494
commit 2598ea3577
4 changed files with 60 additions and 33 deletions

View File

@@ -0,0 +1,17 @@
---
source: src/snapshot_middleware/lua.rs
expression: instance_snapshot
---
snapshot_id: ~
metadata:
ignore_unknown_instances: false
contributing_paths:
- /foo.client.lua
project_node: ~
name: foo
class_name: LocalScript
properties:
Source:
Type: String
Value: Hello there!
children: []

View File

@@ -0,0 +1,17 @@
---
source: src/snapshot_middleware/lua.rs
expression: instance_snapshot
---
snapshot_id: ~
metadata:
ignore_unknown_instances: false
contributing_paths:
- /foo.lua
project_node: ~
name: foo
class_name: ModuleScript
properties:
Source:
Type: String
Value: Hello there!
children: []

View File

@@ -0,0 +1,17 @@
---
source: src/snapshot_middleware/lua.rs
expression: instance_snapshot
---
snapshot_id: ~
metadata:
ignore_unknown_instances: false
contributing_paths:
- /foo.server.lua
project_node: ~
name: foo
class_name: Script
properties:
Source:
Type: String
Value: Hello there!
children: []