@hot-updater/test-utils 1.0.0-rc.37 → 1.0.0-rc.38
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 +7 -3
- package/package.json +10 -10
package/dist/index.mjs
CHANGED
|
@@ -4821,7 +4821,11 @@ const registerInsightsModelTests = (state) => {
|
|
|
4821
4821
|
from_bundle_id: bundleB,
|
|
4822
4822
|
to_release_id: releaseA,
|
|
4823
4823
|
to_bundle_id: bundleA
|
|
4824
|
-
})
|
|
4824
|
+
}),
|
|
4825
|
+
launch("i6", 1e3, bundleA),
|
|
4826
|
+
download("i6", 2e3),
|
|
4827
|
+
download("i6", 2500),
|
|
4828
|
+
apply("i6", 3e3)
|
|
4825
4829
|
];
|
|
4826
4830
|
for (const row of rows) await record(model, row);
|
|
4827
4831
|
const scope = {
|
|
@@ -4841,8 +4845,8 @@ const registerInsightsModelTests = (state) => {
|
|
|
4841
4845
|
...scope
|
|
4842
4846
|
}] })).data;
|
|
4843
4847
|
expect(metrics).toEqual({
|
|
4844
|
-
downloads:
|
|
4845
|
-
applies:
|
|
4848
|
+
downloads: 6,
|
|
4849
|
+
applies: 5,
|
|
4846
4850
|
failedLaunches: 1
|
|
4847
4851
|
});
|
|
4848
4852
|
await expectInsightsIndex(async () => await count({
|
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.38",
|
|
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/
|
|
55
|
-
"@hot-updater/
|
|
56
|
-
"@hot-updater/server": "^1.0.0-rc.
|
|
53
|
+
"@hot-updater/plugin-insights": "^1.0.0-rc.38",
|
|
54
|
+
"@hot-updater/protocol": "^1.0.0-rc.38",
|
|
55
|
+
"@hot-updater/plugin-core": "^1.0.0-rc.38",
|
|
56
|
+
"@hot-updater/server": "^1.0.0-rc.38"
|
|
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.38",
|
|
87
|
+
"@hot-updater/js": "1.0.0-rc.38",
|
|
88
|
+
"@hot-updater/protocol": "1.0.0-rc.38",
|
|
89
|
+
"@hot-updater/server": "1.0.0-rc.38",
|
|
90
|
+
"@hot-updater/plugin-core": "1.0.0-rc.38"
|
|
91
91
|
},
|
|
92
92
|
"inlinedDependencies": {
|
|
93
93
|
"@nodelib/fs.scandir": "2.1.5",
|