diff options
Diffstat (limited to 'packages/markdown/remark/test/plugins.test.js')
-rw-r--r-- | packages/markdown/remark/test/plugins.test.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/markdown/remark/test/plugins.test.js b/packages/markdown/remark/test/plugins.test.js index a1abeb2ed..35e5dcaf8 100644 --- a/packages/markdown/remark/test/plugins.test.js +++ b/packages/markdown/remark/test/plugins.test.js @@ -1,4 +1,5 @@ import { renderMarkdown } from '../dist/index.js'; +import { mockRenderMarkdownParams } from './test-utils.js'; import chai from 'chai'; import { fileURLToPath } from 'node:url'; @@ -8,6 +9,7 @@ describe('plugins', () => { it('should be able to get file path when passing fileURL', async () => { let context; await renderMarkdown(`test`, { + ...mockRenderMarkdownParams, fileURL: new URL('virtual.md', import.meta.url), remarkPlugins: [ function () { |