* @param {{port: (number), normalStoreUrl: (string), accessToken: (string), apiHost: (string)}} stencilConfig * @returns {{port: (number), normalStoreUrl: (string), accessToken: (string), apiHost: (string)}}
(stencilConfig)
| 73 | * @returns {{port: (number), normalStoreUrl: (string), accessToken: (string), apiHost: (string)}} |
| 74 | */ |
| 75 | getDefaultAnswers(stencilConfig) { |
| 76 | return { |
| 77 | normalStoreUrl: stencilConfig.normalStoreUrl, |
| 78 | accessToken: stencilConfig.accessToken, |
| 79 | port: stencilConfig.port || this._serverConfig.get('/server/port'), |
| 80 | apiHost: API_HOST, |
| 81 | }; |
| 82 | } |
| 83 | |
| 84 | /** |
| 85 | * @param {{port: (number), normalStoreUrl: (string), accessToken: (string)}} defaultAnswers |
no outgoing calls
no test coverage detected