local Roact = require(game:GetService("CorePackages").Roact) local LocaleSelector = require(script.Parent.Parent.Components.LocaleSelector) local Theming = require(script.Parent.Parent.Theming) return function() it("mounts and unmounts", function() local element = Roact.createElement(Theming.ThemeProvider, { theme = Theming.createTheme({}), }, { Content = Roact.createElement(LocaleSelector, { GetLocaleId = function() end, SetLocaleId = function() end, LocaleIdChangedSignal = { Connect = function() end, }, }), }) local handle = Roact.mount(element) Roact.unmount(handle) end) end