mirror of
https://github.com/Azure/setup-helm.git
synced 2025-07-15 10:10:42 +00:00
Version fix (#66)
* Added version validation check * Added check for latest * Changed Helm 3.5.0 test to also test lack of v in version * Pushing integration tests * Removed push integration test * Added more context to integration test * Addressing comment
This commit is contained in:
@ -60,6 +60,10 @@ describe("run.ts", () => {
|
||||
expect(os.arch).toBeCalled();
|
||||
});
|
||||
|
||||
test("getValidVersion() - return version with v prepended", () => {
|
||||
expect(run.getValidVersion("3.8.0")).toBe("v3.8.0");
|
||||
});
|
||||
|
||||
test("getHelmDownloadURL() - return the URL to download helm for Windows", () => {
|
||||
jest.spyOn(os, "type").mockReturnValue("Windows_NT");
|
||||
|
||||
|
Reference in New Issue
Block a user