From bd6be31da8f950bb433a6473d8fedba73387e5bc Mon Sep 17 00:00:00 2001 From: Emily Kanarek Date: Mon, 5 May 2025 10:15:58 -0400 Subject: [PATCH] Complete lab --- .results.json | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++ index.js | 6 ++- 2 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 .results.json diff --git a/.results.json b/.results.json new file mode 100644 index 000000000..faa0b7316 --- /dev/null +++ b/.results.json @@ -0,0 +1,102 @@ +{ + "stats": { + "suites": 4, + "tests": 6, + "passes": 6, + "pending": 0, + "failures": 0, + "start": "2025-05-05T14:15:42.909Z", + "end": "2025-05-05T14:15:43.017Z", + "duration": 108 + }, + "tests": [ + { + "title": "is set as Scuber", + "fullTitle": "index.js companyName is set as Scuber", + "duration": 0, + "currentRetry": 0, + "err": {} + }, + { + "title": "is defined as a const", + "fullTitle": "index.js companyName is defined as a const", + "duration": 0, + "currentRetry": 0, + "err": {} + }, + { + "title": "is declared as equal to Chelsea", + "fullTitle": "index.js mostProfitableNeighborhood is declared as equal to Chelsea", + "duration": 0, + "currentRetry": 0, + "err": {} + }, + { + "title": "is defined using let", + "fullTitle": "index.js mostProfitableNeighborhood is defined using let", + "duration": 0, + "currentRetry": 0, + "err": {} + }, + { + "title": "is declared as equal to Susan Smith", + "fullTitle": "index.js companyCeo is declared as equal to Susan Smith", + "duration": 0, + "currentRetry": 0, + "err": {} + }, + { + "title": "is defined using let", + "fullTitle": "index.js companyCeo is defined using let", + "duration": 0, + "currentRetry": 0, + "err": {} + } + ], + "pending": [], + "failures": [], + "passes": [ + { + "title": "is set as Scuber", + "fullTitle": "index.js companyName is set as Scuber", + "duration": 0, + "currentRetry": 0, + "err": {} + }, + { + "title": "is defined as a const", + "fullTitle": "index.js companyName is defined as a const", + "duration": 0, + "currentRetry": 0, + "err": {} + }, + { + "title": "is declared as equal to Chelsea", + "fullTitle": "index.js mostProfitableNeighborhood is declared as equal to Chelsea", + "duration": 0, + "currentRetry": 0, + "err": {} + }, + { + "title": "is defined using let", + "fullTitle": "index.js mostProfitableNeighborhood is defined using let", + "duration": 0, + "currentRetry": 0, + "err": {} + }, + { + "title": "is declared as equal to Susan Smith", + "fullTitle": "index.js companyCeo is declared as equal to Susan Smith", + "duration": 0, + "currentRetry": 0, + "err": {} + }, + { + "title": "is defined using let", + "fullTitle": "index.js companyCeo is defined using let", + "duration": 0, + "currentRetry": 0, + "err": {} + } + ] +} \ No newline at end of file diff --git a/index.js b/index.js index 0db694916..9a33a7e76 100644 --- a/index.js +++ b/index.js @@ -1 +1,5 @@ -// Code your solution in this file! +const companyName = "Scuber"; + +let mostProfitableNeighborhood = "Chelsea"; + +let companyCeo = "Susan Smith"; \ No newline at end of file