local Roact = require(game:GetService("CorePackages").Roact) local UploadDialogContent = require(script.Parent.Parent.Components.UploadDialogContent) 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(UploadDialogContent, { PatchInfo = { numAddedTranslations = 30, numChangedTranslations = 40, numRemovedTranslations = 50, numAddedEntries = 20, numRemovedEntries = 30, } }), }) local handle = Roact.mount(element) Roact.unmount(handle) end) end