@quenty/inputkeymaputils 14.37.0 → 14.37.1-canary.664.b8766ab.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,17 @@
|
|
|
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
|
+
## [14.37.1-canary.664.b8766ab.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/inputkeymaputils@14.37.0...@quenty/inputkeymaputils@14.37.1-canary.664.b8766ab.0) (2026-02-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **cli:** add aggregated batch test execution ([58f20e4](https://github.com/Quenty/NevermoreEngine/commit/58f20e437540c597ea445f47d47076c08ea9ca21))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [14.37.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/inputkeymaputils@14.36.0...@quenty/inputkeymaputils@14.37.0) (2026-02-19)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/inputkeymaputils
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/inputkeymaputils",
|
|
3
|
-
"version": "14.37.0",
|
|
3
|
+
"version": "14.37.1-canary.664.b8766ab.0",
|
|
4
4
|
"description": "System to define rebindable key bindings and inputs for Roblox.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -29,27 +29,27 @@
|
|
|
29
29
|
"Quenty"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@quenty/baseobject": "10.10.0",
|
|
33
|
-
"@quenty/brio": "14.25.0",
|
|
34
|
-
"@quenty/clienttranslator": "14.31.0",
|
|
32
|
+
"@quenty/baseobject": "10.10.1-canary.664.b8766ab.0",
|
|
33
|
+
"@quenty/brio": "14.25.1-canary.664.b8766ab.0",
|
|
34
|
+
"@quenty/clienttranslator": "14.31.1-canary.664.b8766ab.0",
|
|
35
35
|
"@quenty/ducktype": "5.10.0",
|
|
36
36
|
"@quenty/enumutils": "3.4.5",
|
|
37
|
-
"@quenty/inputmode": "13.28.0",
|
|
37
|
+
"@quenty/inputmode": "13.28.1-canary.664.b8766ab.0",
|
|
38
38
|
"@quenty/loader": "10.10.0",
|
|
39
|
-
"@quenty/maid": "3.6.0",
|
|
39
|
+
"@quenty/maid": "3.6.1-canary.664.b8766ab.0",
|
|
40
40
|
"@quenty/nevermore-test-runner": "1.1.0",
|
|
41
|
-
"@quenty/observablecollection": "12.32.0",
|
|
41
|
+
"@quenty/observablecollection": "12.32.1-canary.664.b8766ab.0",
|
|
42
42
|
"@quenty/pseudolocalize": "3.5.2",
|
|
43
|
-
"@quenty/rx": "13.24.0",
|
|
44
|
-
"@quenty/servicebag": "11.14.0",
|
|
45
|
-
"@quenty/statestack": "14.27.0",
|
|
43
|
+
"@quenty/rx": "13.24.1-canary.664.b8766ab.0",
|
|
44
|
+
"@quenty/servicebag": "11.14.1-canary.664.b8766ab.0",
|
|
45
|
+
"@quenty/statestack": "14.27.1-canary.664.b8766ab.0",
|
|
46
46
|
"@quenty/string": "3.3.6",
|
|
47
47
|
"@quenty/table": "3.9.2",
|
|
48
|
-
"@quenty/valuebaseutils": "13.25.0",
|
|
49
|
-
"@quenty/valueobject": "13.26.0"
|
|
48
|
+
"@quenty/valuebaseutils": "13.25.1-canary.664.b8766ab.0",
|
|
49
|
+
"@quenty/valueobject": "13.26.1-canary.664.b8766ab.0"
|
|
50
50
|
},
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "b8766abd82ed090d4313641252c28ca8240744bb"
|
|
55
55
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
--!nonstrict
|
|
2
|
+
--[[
|
|
3
|
+
@class InputTypeUtils.spec.lua
|
|
4
|
+
]]
|
|
5
|
+
|
|
6
|
+
local require = require(script.Parent.loader).load(script)
|
|
7
|
+
|
|
8
|
+
local InputTypeUtils = require("InputTypeUtils")
|
|
9
|
+
local Jest = require("Jest")
|
|
10
|
+
|
|
11
|
+
local describe = Jest.Globals.describe
|
|
12
|
+
local expect = Jest.Globals.expect
|
|
13
|
+
local it = Jest.Globals.it
|
|
14
|
+
|
|
15
|
+
describe("InputTypeUtils.isTapInWorld(inputKey)", function()
|
|
16
|
+
it("should return true for Tap", function()
|
|
17
|
+
expect(InputTypeUtils.isTapInWorld("Tap")).toEqual(true)
|
|
18
|
+
end)
|
|
19
|
+
|
|
20
|
+
it("should return false for other strings", function()
|
|
21
|
+
expect(InputTypeUtils.isTapInWorld("other")).toEqual(false)
|
|
22
|
+
end)
|
|
23
|
+
end)
|
|
24
|
+
|
|
25
|
+
describe("InputTypeUtils.isDrag(inputKey)", function()
|
|
26
|
+
it("should return true for Drag", function()
|
|
27
|
+
expect(InputTypeUtils.isDrag("Drag")).toEqual(true)
|
|
28
|
+
end)
|
|
29
|
+
|
|
30
|
+
it("should return false for other strings", function()
|
|
31
|
+
expect(InputTypeUtils.isDrag("other")).toEqual(false)
|
|
32
|
+
end)
|
|
33
|
+
end)
|
|
34
|
+
|
|
35
|
+
describe("InputTypeUtils.isRobloxTouchButton(inputKey)", function()
|
|
36
|
+
it("should return true for TouchButton", function()
|
|
37
|
+
expect(InputTypeUtils.isRobloxTouchButton("TouchButton")).toEqual(true)
|
|
38
|
+
end)
|
|
39
|
+
|
|
40
|
+
it("should return false for other strings", function()
|
|
41
|
+
expect(InputTypeUtils.isRobloxTouchButton("other")).toEqual(false)
|
|
42
|
+
end)
|
|
43
|
+
end)
|
|
@@ -9,9 +9,11 @@ local require = require(loader).bootstrapGame(ServerScriptService.inputkeymaputi
|
|
|
9
9
|
|
|
10
10
|
local NevermoreTestRunnerUtils = require("NevermoreTestRunnerUtils")
|
|
11
11
|
|
|
12
|
+
if NevermoreTestRunnerUtils.runTestsIfNeededAsync(ServerScriptService.inputkeymaputils) then
|
|
13
|
+
return
|
|
14
|
+
end
|
|
15
|
+
|
|
12
16
|
local serviceBag = require("ServiceBag").new()
|
|
13
17
|
serviceBag:GetService(require("TestInputKeyMap"))
|
|
14
18
|
serviceBag:Init()
|
|
15
19
|
serviceBag:Start()
|
|
16
|
-
|
|
17
|
-
NevermoreTestRunnerUtils.runTestsIfNeededAsync(ServerScriptService.inputkeymaputils)
|