From 695abf454277a6a999b574b12c62a8743cacabe4 Mon Sep 17 00:00:00 2001 From: Emmanuel ronoh Date: Wed, 26 Jun 2024 18:28:34 +0300 Subject: [PATCH] first commit --- .results.json | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++ index.js | 8 +++- 2 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 .results.json diff --git a/.results.json b/.results.json new file mode 100644 index 000000000..f4d379b62 --- /dev/null +++ b/.results.json @@ -0,0 +1,102 @@ +{ + "stats": { + "suites": 4, + "tests": 6, + "passes": 6, + "pending": 0, + "failures": 0, + "start": "2024-06-26T15:25:48.967Z", + "end": "2024-06-26T15:25:49.578Z", + "duration": 611 + }, + "tests": [ + { + "title": "is set as Scuber", + "fullTitle": "index.js companyName is set as Scuber", + "duration": 2, + "currentRetry": 0, + "err": {} + }, + { + "title": "is defined as a const", + "fullTitle": "index.js companyName is defined as a const", + "duration": 1, + "currentRetry": 0, + "err": {} + }, + { + "title": "is declared as equal to Chelsea", + "fullTitle": "index.js mostProfitableNeighborhood is declared as equal to Chelsea", + "duration": 1, + "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": 2, + "currentRetry": 0, + "err": {} + }, + { + "title": "is defined as a const", + "fullTitle": "index.js companyName is defined as a const", + "duration": 1, + "currentRetry": 0, + "err": {} + }, + { + "title": "is declared as equal to Chelsea", + "fullTitle": "index.js mostProfitableNeighborhood is declared as equal to Chelsea", + "duration": 1, + "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..033b25331 100644 --- a/index.js +++ b/index.js @@ -1 +1,7 @@ -// Code your solution in this file! +const companyName = ('Scuber'); + +let mostProfitableNeighborhood = ('Chelsea'); + +let companyCeo = ('Susan Smith'); + +