()
| 113 | } |
| 114 | |
| 115 | function captureLogger() { |
| 116 | const warns = []; |
| 117 | const logs = []; |
| 118 | return { |
| 119 | warns, |
| 120 | logs, |
| 121 | logger: { |
| 122 | info: () => {}, |
| 123 | log: (m) => logs.push(String(m)), |
| 124 | warn: (m) => warns.push(String(m)), |
| 125 | error: () => {}, |
| 126 | debug: () => {}, |
| 127 | }, |
| 128 | }; |
| 129 | } |
| 130 | |
| 131 | function makeStore({ nodeId = 'node_aaaaaaaaaaaa' } = {}) { |
| 132 | const state = { node_id: nodeId }; |
no outgoing calls
no test coverage detected