@isentinel/jest-roblox 0.2.0 → 0.2.2
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 +295 -398
- package/dist/{executor-CNz6_04-.d.mts → executor-B2IDh6bH.d.mts} +176 -89
- package/dist/{game-output-C0KykXIi.mjs → game-output-CwmtpYhn.mjs} +531 -172
- package/dist/index.d.mts +301 -19
- package/dist/index.mjs +2 -2
- package/dist/sea/jest-roblox +0 -0
- package/dist/sea-entry.cjs +5157 -20039
- 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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@isentinel/jest-roblox",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Jest-compatible CLI for running roblox-ts tests via Roblox Open Cloud",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jest",
|
|
@@ -44,46 +44,49 @@
|
|
|
44
44
|
"arktype": "2.2.0",
|
|
45
45
|
"c12": "4.0.0-beta.4",
|
|
46
46
|
"confbox": "0.2.4",
|
|
47
|
-
"defu": "6.1.
|
|
47
|
+
"defu": "6.1.6",
|
|
48
48
|
"get-tsconfig": "4.13.7",
|
|
49
49
|
"highlight.js": "11.11.1",
|
|
50
50
|
"istanbul-lib-coverage": "3.2.2",
|
|
51
51
|
"istanbul-lib-report": "3.0.1",
|
|
52
52
|
"istanbul-reports": "3.2.0",
|
|
53
|
-
"oxc-parser": "0.
|
|
53
|
+
"oxc-parser": "0.123.0",
|
|
54
54
|
"picomatch": "4.0.4",
|
|
55
55
|
"std-env": "4.0.0",
|
|
56
|
-
"tinyrainbow": "3.0
|
|
57
|
-
"ws": "8.
|
|
56
|
+
"tinyrainbow": "3.1.0",
|
|
57
|
+
"ws": "8.20.0",
|
|
58
|
+
"@isentinel/luau-ast": "0.1.0",
|
|
59
|
+
"@isentinel/rojo-utils": "0.1.0",
|
|
60
|
+
"@isentinel/roblox-runner": "0.1.0"
|
|
58
61
|
},
|
|
59
62
|
"devDependencies": {
|
|
60
63
|
"@isentinel/eslint-config": "5.0.0-beta.9",
|
|
61
64
|
"@isentinel/tsconfig": "1.2.0",
|
|
62
65
|
"@oxc-project/types": "0.120.0",
|
|
63
66
|
"@rbxts/jest": "3.13.3-ts.1",
|
|
64
|
-
"@rbxts/types": "1.0.
|
|
67
|
+
"@rbxts/types": "1.0.914",
|
|
65
68
|
"@total-typescript/shoehorn": "0.1.2",
|
|
66
|
-
"@tsdown/exe": "0.21.
|
|
69
|
+
"@tsdown/exe": "0.21.7",
|
|
67
70
|
"@types/istanbul-lib-coverage": "2.0.6",
|
|
68
71
|
"@types/istanbul-lib-report": "3.0.3",
|
|
69
72
|
"@types/istanbul-reports": "3.0.4",
|
|
70
73
|
"@types/node": "24.12.0",
|
|
71
74
|
"@types/picomatch": "4.0.2",
|
|
72
|
-
"@types/ws": "8.
|
|
75
|
+
"@types/ws": "8.18.1",
|
|
73
76
|
"@typescript/native-preview": "7.0.0-dev.20260325.1",
|
|
74
77
|
"@vitest/coverage-v8": "4.1.2",
|
|
75
|
-
"@vitest/eslint-plugin": "1.6.
|
|
78
|
+
"@vitest/eslint-plugin": "1.6.14",
|
|
76
79
|
"better-typescript-lib": "2.12.0",
|
|
77
80
|
"bumpp": "10.4.1",
|
|
78
|
-
"eslint": "9.39.
|
|
81
|
+
"eslint": "9.39.4",
|
|
79
82
|
"eslint-plugin-jest-extended": "3.0.1",
|
|
80
83
|
"eslint-plugin-n": "17.24.0",
|
|
81
84
|
"eslint-plugin-pnpm": "1.6.0",
|
|
82
85
|
"jest-extended": "7.0.0",
|
|
83
|
-
"memfs": "4.
|
|
86
|
+
"memfs": "4.57.1",
|
|
84
87
|
"publint": "0.3.18",
|
|
85
|
-
"tsdown": "0.21.
|
|
86
|
-
"type-fest": "5.
|
|
88
|
+
"tsdown": "0.21.7",
|
|
89
|
+
"type-fest": "5.5.0",
|
|
87
90
|
"typescript": "5.9.3",
|
|
88
91
|
"vitest": "4.1.2"
|
|
89
92
|
},
|
|
@@ -91,8 +94,9 @@
|
|
|
91
94
|
"node": ">=24.10.0"
|
|
92
95
|
},
|
|
93
96
|
"scripts": {
|
|
94
|
-
"build": "pnpm build:bundle && tsdown && pnpm build:plugin",
|
|
97
|
+
"build": "pnpm build:packages && pnpm build:bundle && tsdown && pnpm build:plugin",
|
|
95
98
|
"build:bundle": "darklua process -c .darklua-bundle.json luau/entry.luau src/test-runner.bundled.luau",
|
|
99
|
+
"build:packages": "pnpm -r --filter !@isentinel/jest-roblox run build",
|
|
96
100
|
"build:plugin": "rm -rf plugin/out && darklua process -c .darklua-plugin.json luau/ plugin/out/shared/ && rojo build plugin/plugin.project.json -o plugin/JestRobloxRunner.rbxm",
|
|
97
101
|
"lint": "eslint --cache",
|
|
98
102
|
"lint:ci": "eslint --cache --cache-strategy content",
|
|
Binary file
|
|
@@ -3,6 +3,7 @@ local HttpService = game:GetService("HttpService")
|
|
|
3
3
|
|
|
4
4
|
local Runner = require(script.Parent:FindFirstChild('runner'))
|
|
5
5
|
|
|
6
|
-
local
|
|
6
|
+
local payload = HttpService:JSONDecode([=[__CONFIG_JSON__]=])
|
|
7
|
+
local entries = Runner.runProjects(script, payload.configs)
|
|
7
8
|
|
|
8
|
-
return
|
|
9
|
+
return HttpService:JSONEncode({ entries = entries }), "[]"
|