Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Commit 00e4bd2

Browse files
committed
test: merge endpoin defs from test step and Step
1 parent f00c6af commit 00e4bd2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/step-test.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ class OutStep extends Step {
1818
return 'test step only';
1919
}
2020

21+
static get endpoints() {
22+
return Object.assign({ out: { out: true } }, Step.endpoints);
23+
}
24+
2125
constructor(...args) {
2226
super(...args);
23-
24-
this.addEndpoint(new ReceiveEndpoint('out', this));
2527
this.sequence = 0;
2628
}
2729

0 commit comments

Comments
 (0)