summaryrefslogtreecommitdiff
path: root/packages/integrations/mdx/test/astro-content-css.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/mdx/test/astro-content-css.test.js')
-rw-r--r--packages/integrations/mdx/test/astro-content-css.test.js13
1 files changed, 8 insertions, 5 deletions
diff --git a/packages/integrations/mdx/test/astro-content-css.test.js b/packages/integrations/mdx/test/astro-content-css.test.js
index 7168795cd..712aaf547 100644
--- a/packages/integrations/mdx/test/astro-content-css.test.js
+++ b/packages/integrations/mdx/test/astro-content-css.test.js
@@ -7,7 +7,10 @@ describe('build css from the component', async () => {
let fixture;
before(async () => {
- fixture = await loadFixture({ root: new URL('./fixtures/astro-content-css/', import.meta.url),integrations: [mdx()], });
+ fixture = await loadFixture({
+ root: new URL('./fixtures/astro-content-css/', import.meta.url),
+ integrations: [mdx()],
+ });
await fixture.build();
});
@@ -22,10 +25,10 @@ describe('build css from the component', async () => {
expect($('link[href$=".css"]').attr('href')).to.match(/^\/_astro\//);
expect($('script[src$=".js"]').attr('src')).to.match(/^\/_astro\//);
});
- })
+ });
describe('Dev', () => {
- let devServer
+ let devServer;
before(async () => {
devServer = await fixture.startDevServer();
});
@@ -42,5 +45,5 @@ describe('build css from the component', async () => {
expect($.html()).to.include('CornflowerBlue');
expect($('script[src$=".js"]').attr('src')).to.include('astro');
});
- })
-})
+ });
+});