()
| 182 | }); |
| 183 | |
| 184 | function defaultOptions() { |
| 185 | return { |
| 186 | chars: { |
| 187 | top: '─', |
| 188 | 'top-mid': '┬', |
| 189 | 'top-left': '┌', |
| 190 | 'top-right': '┐', |
| 191 | bottom: '─', |
| 192 | 'bottom-mid': '┴', |
| 193 | 'bottom-left': '└', |
| 194 | 'bottom-right': '┘', |
| 195 | left: '│', |
| 196 | 'left-mid': '├', |
| 197 | mid: '─', |
| 198 | 'mid-mid': '┼', |
| 199 | right: '│', |
| 200 | 'right-mid': '┤', |
| 201 | middle: '│', |
| 202 | }, |
| 203 | truncate: '…', |
| 204 | colWidths: [], |
| 205 | rowHeights: [], |
| 206 | colAligns: [], |
| 207 | rowAligns: [], |
| 208 | style: { |
| 209 | 'padding-left': 1, |
| 210 | 'padding-right': 1, |
| 211 | head: ['red'], |
| 212 | border: ['grey'], |
| 213 | compact: false, |
| 214 | }, |
| 215 | head: [], |
| 216 | }; |
| 217 | } |
| 218 | |
| 219 | describe('mergeOptions', function () { |
| 220 | it('allows you to override chars', function () { |
no outgoing calls
no test coverage detected
searching dependent graphs…