mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
e1d6c0183d
commit
c6c72a0f11
1 file changed
+8
@@ -60,6 +60,14 @@ describe("Extension/App versions compatibility check", () => {
|
|||||||
}))).toBeFalsy(); // extension with lens@5.5 is not compatible with app@6.0
|
}))).toBeFalsy(); // extension with lens@5.5 is not compatible with app@6.0
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("is compatible with lensEngine with prerelease", () => {
|
||||||
|
expect(isCompatibleExtension({
|
||||||
|
appSemVer: semver.coerce("5.5.0-alpha.0"),
|
||||||
|
})(getExtensionManifestMock({
|
||||||
|
lensEngine: "^5.4.0-alpha.0",
|
||||||
|
}))).toBeTruthy();
|
||||||
|
});
|
||||||
|
|
||||||
describe("supported formats for manifest.engines.lens", () => {
|
describe("supported formats for manifest.engines.lens", () => {
|
||||||
it("short version format for engines.lens", () => {
|
it("short version format for engines.lens", () => {
|
||||||
expect(isCompatibleExtension({
|
expect(isCompatibleExtension({
|
||||||
|
|||||||
Reference in new issue
Block a user