test(ota): cover incompatible newer release selection

This commit is contained in:
DIYgod 2026-04-10 18:52:56 +08:00
parent 862e0e0bc9
commit 7be0afa80d
1 changed files with 1 additions and 8 deletions

View File

@ -54,13 +54,6 @@ describe("selectLatestCompatibleRelease", () => {
commit: "abcdef1234567890",
},
}),
createRelease({
releaseVersion: "0.4.3",
git: {
tag: "mobile/v0.4.3",
commit: "bcdef1234567890a",
},
}),
createRelease({
releaseVersion: "0.4.4",
runtimeVersion: "0.4.3",
@ -78,6 +71,6 @@ describe("selectLatestCompatibleRelease", () => {
},
)
expect(result?.releaseVersion).toBe("0.4.3")
expect(result?.releaseVersion).toBe("0.4.2")
})
})