From 870484d06a02b4613b0ab9cd0a55cc944c93cb55 Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Mon, 27 Jan 2020 22:50:02 +0530 Subject: [PATCH] refactor: let to const --- functions/postwomanTesting.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/postwomanTesting.js b/functions/postwomanTesting.js index 1d42c03ed..83abf2f09 100644 --- a/functions/postwomanTesting.js +++ b/functions/postwomanTesting.js @@ -113,7 +113,7 @@ class Expectation { ); } toBeLevel2xx() { - let code = parseInt(this.expectValue); + const code = parseInt(this.expectValue); if (Number.isNaN(code)) { return this._fail( `Expected 200-level status but could not parse value ${this.expectValue}` @@ -128,7 +128,7 @@ class Expectation { ); } toBeLevel3xx() { - let code = parseInt(this.expectValue); + const code = parseInt(this.expectValue); if (Number.isNaN(code)) { return this._fail( `Expected 300-level status but could not parse value ${this.expectValue}` @@ -143,7 +143,7 @@ class Expectation { ); } toBeLevel4xx() { - let code = parseInt(this.expectValue); + const code = parseInt(this.expectValue); if (Number.isNaN(code)) { return this._fail( `Expected 400-level status but could not parse value ${this.expectValue}` @@ -158,7 +158,7 @@ class Expectation { ); } toBeLevel5xx() { - let code = parseInt(this.expectValue); + const code = parseInt(this.expectValue); if (Number.isNaN(code)) { return this._fail( `Expected 500-level status but could not parse value ${this.expectValue}`