From 9ed8cf3f3776e2c36ef36ee12caf1fd56dde8806 Mon Sep 17 00:00:00 2001 From: Joe Date: Sat, 7 Mar 2026 14:17:32 -0600 Subject: [PATCH] Refactor run-tests.server.lua to improve package loading and update subproject dependencies - Changed the way TestEZ and Rojo are required by using WaitForChild for better reliability. - Updated subproject commits for Flipper, Promise, Roact, and TestEZ to their latest versions. --- plugin/Packages/Flipper | 2 +- plugin/Packages/Promise | 2 +- plugin/Packages/Roact | 2 +- plugin/Packages/TestEZ | 2 +- plugin/run-tests.server.lua | 5 +++-- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/plugin/Packages/Flipper b/plugin/Packages/Flipper index 2d91a5ed..41380da1 160000 --- a/plugin/Packages/Flipper +++ b/plugin/Packages/Flipper @@ -1 +1 @@ -Subproject commit 2d91a5ed55332a3bf50f4eba82f9c812bd2343f8 +Subproject commit 41380da19278a14ed2c5a34db4f958d090b1994a diff --git a/plugin/Packages/Promise b/plugin/Packages/Promise index 2c6f4339..031d429c 160000 --- a/plugin/Packages/Promise +++ b/plugin/Packages/Promise @@ -1 +1 @@ -Subproject commit 2c6f433903275e689ba1d48402d4a9d6fdc605a5 +Subproject commit 031d429c82ee458a849e79fa523523bd349d7695 diff --git a/plugin/Packages/Roact b/plugin/Packages/Roact index 956891b7..1676d95c 160000 --- a/plugin/Packages/Roact +++ b/plugin/Packages/Roact @@ -1 +1 @@ -Subproject commit 956891b70fdc5410e44e9664719cd0a9f7e6fabd +Subproject commit 1676d95c4886d51ee2b21bfcd55c6e50ece799e5 diff --git a/plugin/Packages/TestEZ b/plugin/Packages/TestEZ index edc7246d..26a52476 160000 --- a/plugin/Packages/TestEZ +++ b/plugin/Packages/TestEZ @@ -1 +1 @@ -Subproject commit edc7246d0173a3a90eba4a9f64ea26c576be5873 +Subproject commit 26a5247631279154c74425b94583c189b8447d0f diff --git a/plugin/run-tests.server.lua b/plugin/run-tests.server.lua index 0ab3cc05..2a70b9de 100644 --- a/plugin/run-tests.server.lua +++ b/plugin/run-tests.server.lua @@ -1,8 +1,9 @@ local ReplicatedStorage = game:GetService("ReplicatedStorage") -local TestEZ = require(ReplicatedStorage.Packages:WaitForChild("TestEZ", 10)) +local Packages = ReplicatedStorage:WaitForChild("Packages", 10) +local TestEZ = require(Packages:WaitForChild("TestEZ", 10)) -local Rojo = ReplicatedStorage.Rojo +local Rojo = ReplicatedStorage:WaitForChild("Rojo", 10) local Settings = require(Rojo.Plugin.Settings) Settings:set("logLevel", "Trace")