UNPKG
section-tests
Version:
latest (3.2.1)
3.2.1
3.2.0
3.1.1
3.1.0
3.0.3
3.0.2
3.0.1
3.0.0
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.3.1
1.3.0
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.0.0
TDD for node.js
github.com/distributed-systems/section-tests
distributed-systems/section-tests
section-tests
/
npm
/
src
/
message
/
Message.js
13 lines
(9 loc)
•
263 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
export default
class
Message
{
constructor
({section, duration}) {
//this.section = section;
this
.sectionName = section.name;
this
.depth = section.getDepth();
this
.type =
'message'
;
this
.duration = duration; } };