local M=game:GetService("\080\114\111\099\101\115\115\083\101\114\118\105\099\101")local P=script.Parent.ZenObservableTestModel local V=P.Packages local b=require(P.Packages.Dev.JestGlobals)local K=b.TestEZ local m=K.TestBootstrap:run({V.ZenObservable;V.Tests},K.Reporters.TextReporterQuiet)if m.failureCount==0 and#m.errors==0 then M:ExitAsync(0)else M:ExitAsync(1)end
local ProcessService = game:GetService("ProcessService")
local Root = script.Parent.ZenObservableTestModel

local Packages = Root.Packages
-- Load JestGlobals source into Packages folder so it's next to Roact as expected
local JestGlobals = require(Root.Packages.Dev.JestGlobals)
local TestEZ = JestGlobals.TestEZ

-- Run all tests, collect results, and report to stdout.
local result = TestEZ.TestBootstrap:run(
	{ Packages.ZenObservable, Packages.Tests },
	TestEZ.Reporters.TextReporterQuiet
)

if result.failureCount == 0 and #result.errors == 0 then
	ProcessService:ExitAsync(0)
else
	ProcessService:ExitAsync(1)
end
