@jobber/hooks 1.13.3-pre.9 → 1.13.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.
|
@@ -421,7 +421,7 @@ describe("useCollectionQuery", function () {
|
|
|
421
421
|
});
|
|
422
422
|
describe("#subscribeToMore", function () {
|
|
423
423
|
describe("when hook receives update from item not in collection", function () {
|
|
424
|
-
it("
|
|
424
|
+
it("should add new item to collection", function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
425
425
|
var _a, result, waitForNextUpdate;
|
|
426
426
|
var _b, _c, _d, _e, _f;
|
|
427
427
|
return __generator(this, function (_g) {
|
|
@@ -450,7 +450,7 @@ describe("useCollectionQuery", function () {
|
|
|
450
450
|
}); });
|
|
451
451
|
});
|
|
452
452
|
describe("when hook receives update from item already in collection", function () {
|
|
453
|
-
it("
|
|
453
|
+
it("should return the existing collection", function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
454
454
|
var _a, result, waitForNextUpdate;
|
|
455
455
|
var _b, _c, _d, _e, _f;
|
|
456
456
|
return __generator(this, function (_g) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/hooks",
|
|
3
|
-
"version": "1.13.3
|
|
3
|
+
"version": "1.13.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@apollo/client": "^3.3.16",
|
|
17
17
|
"@apollo/react-testing": "^4.0.0",
|
|
18
|
-
"@jobber/formatters": "^0.2.2
|
|
18
|
+
"@jobber/formatters": "^0.2.2",
|
|
19
19
|
"@testing-library/react": "^14.0.0",
|
|
20
20
|
"@testing-library/react-hooks": "^7.0.0",
|
|
21
21
|
"@testing-library/user-event": "^12.0.2",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"@apollo/client": "^3.3.16",
|
|
41
41
|
"react": ">=16.8"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "c92b6e7287a47c05434202bfbcd04375b6a7086f"
|
|
44
44
|
}
|