mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
Enhance service visibility configuration in snapshot tests
- Added `ignoreHiddenServices: true` and a comprehensive list of `visibleServices` to multiple snapshot test files to improve service visibility management during testing. - Refactored logging in the `diff.lua` file to streamline the trace output for hidden services, enhancing clarity in the sync process.
This commit is contained in:
parent
b368eb2401
commit
0eb135ee15
26 changed files with 487 additions and 54 deletions
|
|
@ -417,10 +417,7 @@ local function diff(instanceMap, virtualInstances, rootId, serverInfo)
|
|||
-- so we shouldn't mark them for deletion during forward sync.
|
||||
if serverInfo and serverInfo.ignoreHiddenServices and instance == game then
|
||||
if not visibleServicesSet[childInstance.Name] then
|
||||
Log.trace(
|
||||
"Skipping hidden service {} (ignoreHiddenServices is enabled)",
|
||||
childInstance.Name
|
||||
)
|
||||
Log.trace("Skipping hidden service {} (ignoreHiddenServices is enabled)", childInstance.Name)
|
||||
continue
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue