Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksSavelev committed Jun 3, 2024
1 parent 60f9319 commit 8a63528
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/e2e/pbivizCertSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ describe("E2E - pbiviz install-cert", () => {

describe("pbiviz", () => {
it("pbiviz install-cert command should generate certificate", (done) => {
const homeDir = os.homedir();
const certPath = path.join(homeDir, config.server.certificate);
const keyPath = path.join(homeDir, config.server.privateKey);
const pfxPath = path.join(homeDir, config.server.pfx);
const pathToCertFolder = path.join(os.homedir(), config.server.certificateFolder);
const certPath = path.join(pathToCertFolder, config.server.certificate);
const keyPath = path.join(pathToCertFolder, config.server.privateKey);
const pfxPath = path.join(pathToCertFolder, config.server.pfx);
const certExists = fs.existsSync(certPath);
const keyExists = fs.existsSync(keyPath);
const pfxExists = fs.existsSync(pfxPath);
Expand Down

0 comments on commit 8a63528

Please sign in to comment.