astro/packages/markdown/component/test/test-utils.js
Matthew Phillips bccd88f0eb
Move the Markdown component to its own package (#3986)
* Move the Markdown component to its own package

* Update the examples

* Updated lockfile

* Use is:raw

* Add a main field

* Update the formatting of the readme

* Rename to @astrojs/markdown-component
2022-07-20 16:45:05 -04:00

12 lines
306 B
JavaScript

import { loadFixture as baseLoadFixture } from '../../../astro/test/test-utils.js';
export {
fixLineEndings
} from '../../../astro/test/test-utils.js';
export function loadFixture(config) {
if(config?.root) {
config.root = new URL(config.root, import.meta.url);
}
return baseLoadFixture(config);
}