@isentinel/jest-roblox 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -2
- package/dist/cli.d.mts +1 -1
- package/dist/cli.mjs +278 -383
- package/dist/{executor-CNz6_04-.d.mts → executor-B2IDh6bH.d.mts} +176 -89
- package/dist/{game-output-C0KykXIi.mjs → game-output-BtWj32M8.mjs} +676 -169
- package/dist/index.d.mts +302 -5
- package/dist/index.mjs +2 -2
- package/dist/sea/jest-roblox +0 -0
- package/dist/sea-entry.cjs +5123 -20005
- package/package.json +18 -14
- package/plugin/JestRobloxRunner.rbxm +0 -0
- package/plugin/out/shared/entry.luau +3 -2
- package/plugin/out/shared/promise.luau +2006 -0
- package/plugin/out/shared/runner.luau +69 -1
- package/plugin/out/shared/setup-timing.luau +89 -0
- package/plugin/src/init.server.luau +1 -1
- package/plugin/src/test-in-run-mode.server.luau +14 -4
package/README.md
CHANGED
|
@@ -137,6 +137,7 @@ Precedence: CLI flags > config file > extended config > defaults.
|
|
|
137
137
|
| `showLuau` | Show Luau code snippets in failure output | `true` |
|
|
138
138
|
| `cache` | Cache place file uploads by content hash | `true` |
|
|
139
139
|
| `pollInterval` | How often to poll for results in ms (Open Cloud) | `500` |
|
|
140
|
+
| `parallel` | Number of concurrent Open Cloud sessions, or `"auto"` (= `min(jobs, 3)`) | — |
|
|
140
141
|
|
|
141
142
|
### Coverage fields
|
|
142
143
|
|
|
@@ -228,10 +229,17 @@ multiple concurrent projects aren't supported yet.
|
|
|
228
229
|
|
|
229
230
|
Install the plugin with [Drillbit](https://github.com/jacktabscode/drillbit):
|
|
230
231
|
|
|
231
|
-
|
|
232
|
-
|
|
232
|
+
#### Configuration file
|
|
233
|
+
|
|
234
|
+
Create a file named drillbit.toml in your project's directory.
|
|
235
|
+
|
|
236
|
+
```toml
|
|
237
|
+
[plugins.jest_roblox]
|
|
238
|
+
github = "https://github.com/christopher-buss/jest-roblox-cli/releases/download/v0.2.1/JestRobloxRunner.rbxm"
|
|
233
239
|
```
|
|
234
240
|
|
|
241
|
+
Then run `drillbit` and it will download the plugin and install it in Studio for you.
|
|
242
|
+
|
|
235
243
|
Or download `JestRobloxRunner.rbxm` from the
|
|
236
244
|
[latest release](https://github.com/christopher-buss/jest-roblox-cli/releases)
|
|
237
245
|
and drop it into your Studio plugins folder.
|
|
@@ -261,6 +269,7 @@ and drop it into your Studio plugins folder.
|
|
|
261
269
|
| `--no-color` | Turn off colors |
|
|
262
270
|
| `--no-cache` | Force a fresh place file upload |
|
|
263
271
|
| `--pollInterval <ms>` | How often to check for results (Open Cloud) |
|
|
272
|
+
| `--parallel [n]` | Open Cloud concurrent sessions, or `auto` (= `min(jobs, 3)`) |
|
|
264
273
|
| `--project <name...>` | Filter which named projects to run |
|
|
265
274
|
| `--projects <path...>` | DataModel paths that hold tests |
|
|
266
275
|
| `--setupFiles <path...>` | Scripts to run before env |
|
package/dist/cli.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as ResolvedProjectConfig, n as ExecuteResult, v as CliOptions } from "./executor-
|
|
1
|
+
import { _ as ResolvedProjectConfig, n as ExecuteResult, v as CliOptions } from "./executor-B2IDh6bH.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/cli.d.ts
|
|
4
4
|
declare function parseArgs(args: Array<string>): CliOptions;
|