(content)
| 17 | |
| 18 | test('option: preprocess function', async () => { |
| 19 | const preprocess = function (content) { |
| 20 | return content.replace('markdown', 'MARKDOWN') |
| 21 | } |
| 22 | const data = dataDirectory(fixturesDir, { preprocess }) |
| 23 | expect(data.nested.baz).toBe('I am MARKDOWN!') |
| 24 | }) |
nothing calls this directly
no outgoing calls
no test coverage detected