diff --git a/dlp/system-test/redact.test.js b/dlp/system-test/redact.test.js index 5b88d6e062..e149b12874 100644 --- a/dlp/system-test/redact.test.js +++ b/dlp/system-test/redact.test.js @@ -42,9 +42,9 @@ function readImage(filePath) { } async function getImageDiffPercentage(image1Path, image2Path) { - let image1 = await readImage(image1Path); - let image2 = await readImage(image2Path); - let diff = new PNG({width: image1.width, height: image1.height}); + const image1 = await readImage(image1Path); + const image2 = await readImage(image2Path); + const diff = new PNG({width: image1.width, height: image1.height}); const diffPixels = pixelmatch( image1.data, diff --git a/dlp/system-test/templates.test.js b/dlp/system-test/templates.test.js index 19902e2e37..92761e44c8 100644 --- a/dlp/system-test/templates.test.js +++ b/dlp/system-test/templates.test.js @@ -20,7 +20,7 @@ const tools = require('@google-cloud/nodejs-repo-tools'); const uuid = require(`uuid`); const cmd = `node templates.js`; -let templateName = ''; +const templateName = ''; const INFO_TYPE = `PERSON_NAME`; const MIN_LIKELIHOOD = `VERY_LIKELY`;