CoreScriptsRoot/Modules/DevConsole/Components/DevConsoleWindow.spec.lua
return function()
	local CorePackages = game:GetService("CorePackages")
	local Roact = require(CorePackages.Roact)
	local RoactRodux = require(CorePackages.RoactRodux)
	local Store = require(CorePackages.Rodux).Store

	local DataProvider = require(script.Parent.DataProvider)
	local DevConsoleWindow = require(script.Parent.DevConsoleWindow)

	it("should create and destroy without errors", function()
		local store = Store.new(function()
			return {
				DisplayOptions = {
					isVisible = 0,
					platform = 0,
					isMinimized = false,
					size = UDim2.new(1, 0, 1, 0),
				},
				MainView = {
					currTabIndex = 0
				},
				TopBarLiveUpdate = {
					LogWarningCount = 0,
					LogErrorCount = 0
				},
				LogData = {
					clientData = { },
					clientDataFiltered = { },
					clientSearchTerm = "",
					clientTypeFilters = { },

					serverData = { },
					serverDataFiltered = { },
					serverSearchTerm = "",
					serverTypeFilters = { },
				}
			}
		end)

		local element = Roact.createElement(RoactRodux.StoreProvider, {
			store = store,
		}, {
			DataProvider = Roact.createElement(DataProvider, {}, {
				DevConsoleWindow = Roact.createElement(DevConsoleWindow)
			})
		})

		local instance = Roact.mount(element)
		Roact.unmount(instance)
	end)
end