@hot-updater/test-utils 1.0.0-rc.30 → 1.0.0-rc.32
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/dist/index.mjs +3 -3
- package/package.json +9 -9
package/dist/index.mjs
CHANGED
|
@@ -3264,7 +3264,7 @@ const READ_BUDGETS = [
|
|
|
3264
3264
|
calls: 1,
|
|
3265
3265
|
rows: 1
|
|
3266
3266
|
},
|
|
3267
|
-
check: ({ data }) => expect(data[0].metrics.
|
|
3267
|
+
check: ({ data }) => expect(data[0].metrics.applies).toBe(25)
|
|
3268
3268
|
}),
|
|
3269
3269
|
budget({
|
|
3270
3270
|
api: "app usage: nonzero distribution and usage-sketch rows in the window, all used",
|
|
@@ -4466,11 +4466,11 @@ const registerInsightsModelTests = (state) => {
|
|
|
4466
4466
|
const lifetime = await model.getReleaseActivity({ releases });
|
|
4467
4467
|
expect(lifetime.data.map(({ metrics }) => metrics)).toEqual([{
|
|
4468
4468
|
downloads: 0,
|
|
4469
|
-
|
|
4469
|
+
applies: 0,
|
|
4470
4470
|
failedLaunches: 0
|
|
4471
4471
|
}, {
|
|
4472
4472
|
downloads: 1,
|
|
4473
|
-
|
|
4473
|
+
applies: 2,
|
|
4474
4474
|
failedLaunches: 1
|
|
4475
4475
|
}]);
|
|
4476
4476
|
const hourly = (filter) => model.countEventSeries({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/test-utils",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Test utilities for Hot Updater packages",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"mysql2": "*",
|
|
51
51
|
"pg": "*",
|
|
52
52
|
"vitest": "^4.0.0",
|
|
53
|
-
"@hot-updater/plugin-insights": "^1.0.0-rc.
|
|
54
|
-
"@hot-updater/protocol": "^1.0.0-rc.
|
|
55
|
-
"@hot-updater/
|
|
56
|
-
"@hot-updater/
|
|
53
|
+
"@hot-updater/plugin-insights": "^1.0.0-rc.34",
|
|
54
|
+
"@hot-updater/protocol": "^1.0.0-rc.30",
|
|
55
|
+
"@hot-updater/plugin-core": "^1.0.0-rc.30",
|
|
56
|
+
"@hot-updater/server": "^1.0.0-rc.34"
|
|
57
57
|
},
|
|
58
58
|
"peerDependenciesMeta": {
|
|
59
59
|
"@electric-sql/pglite": {
|
|
@@ -83,11 +83,11 @@
|
|
|
83
83
|
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
84
84
|
"vitest": "4.1.4",
|
|
85
85
|
"workspace-tools": "^0.41.7",
|
|
86
|
-
"@hot-updater/plugin-insights": "1.0.0-rc.
|
|
87
|
-
"@hot-updater/protocol": "1.0.0-rc.
|
|
86
|
+
"@hot-updater/plugin-insights": "1.0.0-rc.34",
|
|
87
|
+
"@hot-updater/protocol": "1.0.0-rc.30",
|
|
88
88
|
"@hot-updater/js": "1.0.0-rc.27",
|
|
89
|
-
"@hot-updater/
|
|
90
|
-
"@hot-updater/
|
|
89
|
+
"@hot-updater/server": "1.0.0-rc.34",
|
|
90
|
+
"@hot-updater/plugin-core": "1.0.0-rc.30"
|
|
91
91
|
},
|
|
92
92
|
"inlinedDependencies": {
|
|
93
93
|
"@nodelib/fs.scandir": "2.1.5",
|