Skip to content

Commit 9cc5d1f

Browse files
Merge pull request #369 from abhishek-lambda/AT-281
use const instead of let
2 parents e401d67 + 34c336a commit 9cc5d1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

accessibility/scanner/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ async function processAccessibilityReport(url) {
121121

122122
try {
123123

124-
let testId = Cypress.env("TEST_ID") || "dummy1234"
125-
let reportAPI = Cypress.env("GENERATE_REPORT_API") || "http://localhost:43000/api/v1.0/cypress/generateAccessibilityReport"
124+
const testId = Cypress.env("TEST_ID") || "dummy1234"
125+
const reportAPI = Cypress.env("GENERATE_REPORT_API") || "http://localhost:43000/api/v1.0/cypress/generateAccessibilityReport"
126126
const filePath = Cypress.env("ACCESSIBILITY_REPORT_PATH") || ('cypress/results/accessibilityReport_' + testId + '.json');
127127
console.log("TestID is",testId);
128128
const payloadToSend = {

0 commit comments

Comments
 (0)