Skip to content

Commit

Permalink
Do not run systemctl status apache2 command on github action
Browse files Browse the repository at this point in the history
  • Loading branch information
joone committed Feb 24, 2024
1 parent f0facd5 commit f339331
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/command.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ describe("Linux Command Test", () => {
).toString();
expect(stdout).to.include("typescript.js");
});
}

it("Run systemctl status apache2", function () {
let stdout = execSync(
`MOCHA_ENV=test node ${LOZ_BIN} "check if apache2 is runnig on this system"`
).toString();
expect(stdout).to.include("The Apache HTTP Server");
});
it("Run systemctl status apache2", function () {
let stdout = execSync(
`MOCHA_ENV=test node ${LOZ_BIN} "check if apache2 is runnig on this system"`
).toString();
expect(stdout).to.include("The Apache HTTP Server");
});
}

// Get the system's current date and time
it("Get the system's current date and time", function () {
Expand Down

0 comments on commit f339331

Please sign in to comment.