diff --git a/README.md b/README.md index 1f11f27..3c95d64 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ Run [TestEZ](https://roblox.github.io/testez/) tests and view their results right from VS Code. -- Install the Roblox Studio plugin with either the command or saving it, adding it to Studio and clicking `Save as Local Plugin` (`command:testez-inspector.buildPlugin`) +- Install the Roblox Studio plugin with either the command or saving it, adding it to Studio and clicking `Save as Local Plugin` (`command:testez-companion.buildPlugin`) - Make a `testez-companion.toml` file to configure how TestEZ should behave: ```toml - roots = ["ReplicatedStorage/myTests", "ServerStorage/some/other/tests"] # locations of your .spec files (which are found as descendants too) - extraOptions = {} # optional extraOptions for TestBootstrap + roots = ["ReplicatedStorage/myTests", "ServerStorage/some/other/tests"] # locations of your .spec files (which are found as descendants too) + extraOptions = {} # optional extraOptions for TestBootstrap ``` - Sync into Studio with [Rojo](https://rojo.space/) @@ -20,7 +20,7 @@ _You can also right click on failing "it" blocks to output their errors._ ## Known issues (contributions welcome) -- The `testez-inspector.installPlugin` command only works on `win32` systems. For installing the plugin on other systems, users will have to run `command:testez-inspector.buildPlugin`, then drag the `TestEZ Companion.rbxmx` over to Studio, and click `Save as Local Plugin`. +- The `testez-companion.installPlugin` command only works on `win32` systems. For installing the plugin on other systems, users will have to run `command:testez-companion.buildPlugin`, then drag the `TestEZ Companion.rbxmx` over to Studio, and click `Save as Local Plugin`. ## Contributing diff --git a/package.json b/package.json index f494068..4182f4c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "testez-companion", "displayName": "TestEZ Companion", "description": "Run TestEZ tests and view their results right from VS Code", - "version": "1.1.1", + "version": "1.1.2", "engines": { "vscode": "^1.55.0" }, diff --git a/plugin/TestEZ Companion.rbxmx b/plugin/TestEZ Companion.rbxmx index dfc3196..6545911 100644 --- a/plugin/TestEZ Companion.rbxmx +++ b/plugin/TestEZ Companion.rbxmx @@ -57,7 +57,7 @@ end local loading, ERR = {}, {} function hotReload.flush() - loading = {} + table.clear(loading) end function hotReload.require(mod) @@ -112,7 +112,7 @@ end local extractUsefulKeys = require(script.Parent:WaitForChild("extractUsefulKeys")) local hotReload = require(script.Parent.hotReload) -local TestEZ = hotReload.require(script.Parent:WaitForChild("testez")) -- If we load it this way it doesn't need to be modified. +local TestEZ = hotReload.require(script.Parent:WaitForChild("testez")) local RunService = game:GetService("RunService") local HttpService = game:GetService("HttpService")