(path = '/slack/events')
| 28 | |
| 29 | // TODO: options (like https) |
| 30 | createServer(path = '/slack/events') { |
| 31 | // NOTE: this is a workaround for a shortcoming of the System.import() tranform |
| 32 | return Promise.resolve().then(() => { |
| 33 | debug('server created - path: %s', path); |
| 34 | |
| 35 | return http.createServer(this.requestListener()); |
| 36 | }); |
| 37 | } |
| 38 | |
| 39 | start(port) { |
| 40 | return this.createServer() |
no test coverage detected