2022-07-20 20:45:05 +00:00
|
|
|
import { loadFixture as baseLoadFixture } from '../../../astro/test/test-utils.js';
|
|
|
|
|
2022-07-20 20:47:28 +00:00
|
|
|
export { fixLineEndings } from '../../../astro/test/test-utils.js';
|
2022-07-20 20:45:05 +00:00
|
|
|
|
|
|
|
export function loadFixture(config) {
|
2022-07-20 20:47:28 +00:00
|
|
|
if (config?.root) {
|
2022-07-20 20:45:05 +00:00
|
|
|
config.root = new URL(config.root, import.meta.url);
|
|
|
|
}
|
|
|
|
return baseLoadFixture(config);
|
|
|
|
}
|