Skip to content

Commit

Permalink
test: update
Browse files Browse the repository at this point in the history
  • Loading branch information
pcheremu committed Mar 11, 2024
1 parent 72c9bea commit efb1405
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions test/common.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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", () => {
Expand Down

0 comments on commit efb1405

Please sign in to comment.