[ci] format
This commit is contained in:
parent
bccd88f0eb
commit
335e58cd8b
2 changed files with 6 additions and 5 deletions
|
@ -27,5 +27,8 @@
|
||||||
"mocha": "^9.2.2",
|
"mocha": "^9.2.2",
|
||||||
"@types/mocha": "^9.1.1"
|
"@types/mocha": "^9.1.1"
|
||||||
},
|
},
|
||||||
"keywords": ["astro", "astro-component"]
|
"keywords": [
|
||||||
|
"astro",
|
||||||
|
"astro-component"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
import { loadFixture as baseLoadFixture } from '../../../astro/test/test-utils.js';
|
import { loadFixture as baseLoadFixture } from '../../../astro/test/test-utils.js';
|
||||||
|
|
||||||
export {
|
export { fixLineEndings } from '../../../astro/test/test-utils.js';
|
||||||
fixLineEndings
|
|
||||||
} from '../../../astro/test/test-utils.js';
|
|
||||||
|
|
||||||
export function loadFixture(config) {
|
export function loadFixture(config) {
|
||||||
if(config?.root) {
|
if (config?.root) {
|
||||||
config.root = new URL(config.root, import.meta.url);
|
config.root = new URL(config.root, import.meta.url);
|
||||||
}
|
}
|
||||||
return baseLoadFixture(config);
|
return baseLoadFixture(config);
|
||||||
|
|
Loading…
Reference in a new issue