@quenty/binder 14.18.2 → 14.19.0-canary.544.de8fcee.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,9 +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
- ## [14.18.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@14.18.1...@quenty/binder@14.18.2) (2025-03-31)
6
+ # [14.19.0-canary.544.de8fcee.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@14.18.1...@quenty/binder@14.19.0-canary.544.de8fcee.0) (2025-04-01)
7
7
 
8
- **Note:** Version bump only for package @quenty/binder
8
+
9
+ ### Bug Fixes
10
+
11
+ * Fix existing tests ([655787c](https://github.com/Quenty/NevermoreEngine/commit/655787ced1139136e12f81800e229aa076731561))
9
12
 
10
13
 
11
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/binder",
3
- "version": "14.18.2",
3
+ "version": "14.19.0-canary.544.de8fcee.0",
4
4
  "description": "Utility object to Bind a class to Roblox object, and associated helper methods",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,19 +25,19 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/baseobject": "^10.8.0",
29
- "@quenty/brio": "^14.16.2",
30
- "@quenty/instanceutils": "^13.16.2",
31
- "@quenty/linkutils": "^13.16.2",
32
- "@quenty/loader": "^10.8.0",
33
- "@quenty/maid": "^3.4.0",
34
- "@quenty/promise": "^10.10.1",
35
- "@quenty/rx": "^13.16.2",
36
- "@quenty/signal": "^7.10.0",
37
- "@quenty/valueobject": "^13.16.2"
28
+ "@quenty/baseobject": "10.8.0",
29
+ "@quenty/brio": "14.17.0-canary.544.de8fcee.0",
30
+ "@quenty/instanceutils": "13.17.0-canary.544.de8fcee.0",
31
+ "@quenty/linkutils": "13.17.0-canary.544.de8fcee.0",
32
+ "@quenty/loader": "10.8.0",
33
+ "@quenty/maid": "3.4.0",
34
+ "@quenty/promise": "10.10.1",
35
+ "@quenty/rx": "13.17.0-canary.544.de8fcee.0",
36
+ "@quenty/signal": "7.10.0",
37
+ "@quenty/valueobject": "13.17.0-canary.544.de8fcee.0"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "af926ec08f523833f37d22477c72dca034219823"
42
+ "gitHead": "de8fcee995fcdae464964357b4c770c03f4c7e03"
43
43
  }
@@ -4,38 +4,42 @@
4
4
 
5
5
  local require = require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).bootstrapStory(script)
6
6
 
7
- local BinderProvider = require("BinderProvider")
8
7
  local Binder = require("Binder")
8
+ local BinderProvider = require("BinderProvider")
9
+ local Jest = require("Jest")
9
10
 
10
- return function()
11
- describe("BinderProvider.new()", function()
12
- local provider
13
- local initialized = false
11
+ local describe = Jest.Globals.describe
12
+ local expect = Jest.Globals.expect
13
+ local it = Jest.Globals.it
14
14
 
15
- it("should execute immediately", function()
16
- provider = BinderProvider.new("BinderServiceName", function(self, arg)
17
- initialized = true
18
- assert(arg == 12345, "Bad arg")
15
+ describe("BinderProvider.new()", function()
16
+ local provider
17
+ local initialized = false
19
18
 
20
- self:Add(Binder.new("Test", function()
21
- return { Destroy = function() end; }
22
- end))
23
- end)
19
+ it("should execute immediately", function()
20
+ provider = BinderProvider.new("BinderServiceName", function(self, arg)
21
+ initialized = true
22
+ assert(arg == 12345, "Bad arg")
24
23
 
25
- expect(provider).to.be.a("table")
24
+ self:Add(Binder.new("Test", function()
25
+ return { Destroy = function() end; }
26
+ end))
26
27
  end)
27
28
 
28
- it("should initialize", function()
29
- expect(initialized).to.equal(false)
30
- provider:Init(12345)
31
- expect(initialized).to.equal(true)
32
- end)
29
+ expect(provider).toEqual(expect.any("table"))
30
+ end)
33
31
 
34
- it("should contain the binder", function()
35
- expect(provider.Test).to.be.a("table")
36
- end)
32
+ it("should initialize", function()
33
+ expect(initialized).toEqual(false)
34
+ provider:Init(12345)
35
+ expect(initialized).toEqual(true)
36
+ end)
37
37
 
38
- provider:Destroy()
38
+ it("should contain the binder", function()
39
+ expect(provider.Test).toEqual(expect.any("table"))
39
40
  end)
40
41
 
41
- end
42
+ if provider then
43
+ provider:Destroy()
44
+ end
45
+ end)