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
/
ErrorMessage.js
17 lines
(10 loc)
•
306 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import
Message from
'./Message.js'
; export default
class
ErrorMessage
extends
Message
{
constructor
(options) {
super
(options);
this
.err = options.err;
this
.test = options.test;
this
.duration = options.duration;
this
.type =
'errorMessage'
; } };