From efb1405fc4b0aeb8c5fc4357cb32dbbf9498fa35 Mon Sep 17 00:00:00 2001 From: pcheremu Date: Mon, 11 Mar 2024 15:16:53 +0100 Subject: [PATCH] test: update --- test/common.test.ts | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/test/common.test.ts b/test/common.test.ts index a4c1ef1..149a162 100644 --- a/test/common.test.ts +++ b/test/common.test.ts @@ -170,22 +170,18 @@ describe("Dev tests", () => { // describe("Check zksync-cli dev", () => { it("npx zksync-cli dev start", () => { - const command = "yes | zksync-cli dev start"; + const command = "yes | npx zksync-cli dev start"; const result = executeCommand(command); // console.log(result.output); expect(result.exitCode).toBe(0); }); //id1718 - excluded - describe("Specific package can be updated using zksync-cli dev update module name", () => { - // need to find out the way how to make "npx zksync-cli dev start" - - it("npx zksync-cli dev update module", () => { - const command = "npx zksync-cli dev update zkcli-portal"; - const result = executeCommand(command); - expect(result.output).toMatch(/(Updating module)/i); - expect(result.exitCode).toBe(0); - }); + it("npx zksync-cli dev update module", () => { + const command = "npx zksync-cli dev update zkcli-portal"; + const result = executeCommand(command); + expect(result.output).toMatch(/(Updating module)/i); + expect(result.exitCode).toBe(0); }); it("npx zksync-cli dev restart", () => {