@hot-updater/test-utils 1.0.0-rc.38 → 1.0.0-rc.40
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 +2 -2
- package/package.json +10 -10
package/dist/index.mjs
CHANGED
|
@@ -4767,7 +4767,7 @@ const registerInsightsModelTests = (state) => {
|
|
|
4767
4767
|
failedLaunches: 0
|
|
4768
4768
|
}]);
|
|
4769
4769
|
});
|
|
4770
|
-
it("counts each launch and download once, so a bundle's
|
|
4770
|
+
it("counts each launch and download once, so a bundle's launch and download series match its release, and its downloads cover launches and crashes", async () => {
|
|
4771
4771
|
const model = state.getDatabase();
|
|
4772
4772
|
const day = 864e5;
|
|
4773
4773
|
const releaseA = "00000000-0000-7000-8000-000000009b01";
|
|
@@ -4867,7 +4867,7 @@ const registerInsightsModelTests = (state) => {
|
|
|
4867
4867
|
...scope,
|
|
4868
4868
|
type: "UPDATE_DOWNLOADED",
|
|
4869
4869
|
toBundleId: bundleB
|
|
4870
|
-
}), metrics.downloads
|
|
4870
|
+
}), metrics.downloads);
|
|
4871
4871
|
expect(implied).toBe(2);
|
|
4872
4872
|
expect(metrics.downloads).toBeGreaterThanOrEqual(metrics.applies + metrics.failedLaunches);
|
|
4873
4873
|
});
|
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.40",
|
|
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/plugin-core": "^1.0.0-rc.
|
|
56
|
-
"@hot-updater/server": "^1.0.0-rc.
|
|
53
|
+
"@hot-updater/plugin-insights": "^1.0.0-rc.40",
|
|
54
|
+
"@hot-updater/protocol": "^1.0.0-rc.40",
|
|
55
|
+
"@hot-updater/plugin-core": "^1.0.0-rc.40",
|
|
56
|
+
"@hot-updater/server": "^1.0.0-rc.40"
|
|
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/
|
|
88
|
-
"@hot-updater/
|
|
89
|
-
"@hot-updater/
|
|
90
|
-
"@hot-updater/
|
|
86
|
+
"@hot-updater/plugin-insights": "1.0.0-rc.40",
|
|
87
|
+
"@hot-updater/protocol": "1.0.0-rc.40",
|
|
88
|
+
"@hot-updater/js": "1.0.0-rc.40",
|
|
89
|
+
"@hot-updater/plugin-core": "1.0.0-rc.40",
|
|
90
|
+
"@hot-updater/server": "1.0.0-rc.40"
|
|
91
91
|
},
|
|
92
92
|
"inlinedDependencies": {
|
|
93
93
|
"@nodelib/fs.scandir": "2.1.5",
|