@quenty/resetservice 11.51.2 → 11.52.0
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [11.52.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/resetservice@11.51.2...@quenty/resetservice@11.52.0) (2026-10-14)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- BindToClose service has a public method tests can use, simplify tests ([be4ca98](https://github.com/Quenty/NevermoreEngine/commit/be4ca986671cfd9b0757acc4f9ab85e6bfb7f38e))
|
|
11
|
+
|
|
6
12
|
## [11.51.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/resetservice@11.51.1...@quenty/resetservice@11.51.2) (2026-10-09)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @quenty/resetservice
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/resetservice",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.52.0",
|
|
4
4
|
"description": "Handles reset requests since Roblox's reset system doesn't handle ragdolls correctly",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -29,25 +29,25 @@
|
|
|
29
29
|
"Quenty"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@quenty/characterutils": "12.
|
|
33
|
-
"@quenty/coreguiutils": "10.
|
|
32
|
+
"@quenty/characterutils": "12.46.0",
|
|
33
|
+
"@quenty/coreguiutils": "10.28.0",
|
|
34
34
|
"@quenty/jestutils": "1.1.2",
|
|
35
35
|
"@quenty/loader": "10.11.3",
|
|
36
36
|
"@quenty/maid": "3.12.2",
|
|
37
37
|
"@quenty/nevermore-test-runner": "1.6.2",
|
|
38
|
-
"@quenty/playermock": "1.
|
|
39
|
-
"@quenty/playerutils": "8.
|
|
40
|
-
"@quenty/promise": "10.
|
|
41
|
-
"@quenty/remoting": "12.
|
|
42
|
-
"@quenty/rigbuilderutils": "10.
|
|
43
|
-
"@quenty/rx": "13.
|
|
38
|
+
"@quenty/playermock": "1.11.0",
|
|
39
|
+
"@quenty/playerutils": "8.46.0",
|
|
40
|
+
"@quenty/promise": "10.25.0",
|
|
41
|
+
"@quenty/remoting": "12.46.0",
|
|
42
|
+
"@quenty/rigbuilderutils": "10.49.0",
|
|
43
|
+
"@quenty/rx": "13.35.0",
|
|
44
44
|
"@quenty/servicebag": "11.21.2",
|
|
45
|
-
"@quenty/statestack": "14.
|
|
45
|
+
"@quenty/statestack": "14.40.0",
|
|
46
46
|
"@quenty/table": "3.9.2",
|
|
47
47
|
"@quentystudios/jest-lua": "3.10.0-quenty.2"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "6b26147a6b432f17270769342498b4f2f08f60b1"
|
|
53
53
|
}
|
|
@@ -101,11 +101,7 @@ describe("ResetServiceClient.PromiseResetCharacter", function()
|
|
|
101
101
|
return Promise.resolved("custom")
|
|
102
102
|
end)
|
|
103
103
|
|
|
104
|
-
local
|
|
105
|
-
expect(PromiseTestUtils.awaitSettled(promise, 10)).toBe(true)
|
|
106
|
-
|
|
107
|
-
local ok, value = promise:Yield()
|
|
108
|
-
expect(ok).toBe(true)
|
|
104
|
+
local value = PromiseTestUtils.awaitFulfilled(controller.resetServiceClient:PromiseResetCharacter(), 10)
|
|
109
105
|
expect(value).toBe("custom")
|
|
110
106
|
expect(humanoid.Health).toBe(0)
|
|
111
107
|
expect(resetPlayers).toEqual({ controller.mock })
|
|
@@ -101,11 +101,7 @@ describe("ResetService.PushResetProvider", function()
|
|
|
101
101
|
return Promise.resolved("custom")
|
|
102
102
|
end)
|
|
103
103
|
|
|
104
|
-
local
|
|
105
|
-
expect(PromiseTestUtils.awaitSettled(promise, 5)).toBe(true)
|
|
106
|
-
|
|
107
|
-
local ok, value = promise:Yield()
|
|
108
|
-
expect(ok).toBe(true)
|
|
104
|
+
local value = PromiseTestUtils.awaitFulfilled(controller.resetService:PromiseResetCharacter(controller.mock), 5)
|
|
109
105
|
expect(value).toBe("custom")
|
|
110
106
|
expect(resetPlayers).toEqual({ controller.mock })
|
|
111
107
|
|
|
@@ -128,17 +124,14 @@ describe("ResetService.PushResetProvider", function()
|
|
|
128
124
|
return Promise.resolved("second")
|
|
129
125
|
end)
|
|
130
126
|
|
|
131
|
-
local
|
|
132
|
-
expect(PromiseTestUtils.awaitSettled(promise, 5)).toBe(true)
|
|
133
|
-
local _, value = promise:Yield()
|
|
127
|
+
local value = PromiseTestUtils.awaitFulfilled(controller.resetService:PromiseResetCharacter(controller.mock), 5)
|
|
134
128
|
expect(value).toBe("second")
|
|
135
129
|
expect(firstCount).toBe(0)
|
|
136
130
|
|
|
137
131
|
popSecond()
|
|
138
132
|
|
|
139
|
-
local
|
|
140
|
-
|
|
141
|
-
local _, afterValue = afterPop:Yield()
|
|
133
|
+
local afterValue =
|
|
134
|
+
PromiseTestUtils.awaitFulfilled(controller.resetService:PromiseResetCharacter(controller.mock), 5)
|
|
142
135
|
expect(afterValue).toBe("first")
|
|
143
136
|
expect(firstCount).toBe(1)
|
|
144
137
|
|