scrimba
Unit Testing
Grouping with describe
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
Grouping with describe
Expand for more info
main.js
run
preview
console
class User {
firstName;
lastName;
middleName;

constructor(data = {}){
this.firstName = data.firstName || '';
this.lastName = data.lastName || '';
this.middleName = data.middleName;
}
}
/**
* Test Suite
*/
Console
/index.html
-1:18