(example, options?)
| 10 | const tokenizer = new Tokenizer({ allowComments: true }); |
| 11 | |
| 12 | function convert(example, options?) { |
| 13 | const content = example.replace(/\n\s+/gm, '\n').trim(); |
| 14 | const tokens = tokenizer.tokenize(content); |
| 15 | return parser(tokens, options); |
| 16 | } |
| 17 | |
| 18 | describe('handling options', function () { |
| 19 | it('no args', function () { |
no test coverage detected
searching dependent graphs…