Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 102 additions & 0 deletions .results.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"stats": {
"suites": 4,
"tests": 6,
"passes": 6,
"pending": 0,
"failures": 0,
"start": "2024-09-26T07:56:14.720Z",
"end": "2024-09-26T07:56:15.056Z",
"duration": 336
},
"tests": [
{
"title": "is set as Scuber",
"fullTitle": "index.js companyName is set as Scuber",
"duration": 1,
"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": 1,
"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": {}
}
]
}
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
// Code your solution in this file!

const companyName='Scuber';
let mostProfitableNeighborhood;
mostProfitableNeighborhood='Chelsea';
let companyCeo='Susan Smith';