Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored and astrobot-houston committed May 30, 2023
1 parent cf62134 commit e20a3b2
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions packages/integrations/mdx/test/astro-content-css.test.js
Expand Up @@ -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();
});

Expand All @@ -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();
});
Expand All @@ -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');
});
})
})
});
});

0 comments on commit e20a3b2

Please sign in to comment.