Skip to content

Commit

Permalink
test: fix CSS test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Moore committed Mar 2, 2022
1 parent 9639f3c commit 804cf85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/astro/test/0-css.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,9 @@ describe('CSS', function () {
});

it('resolves Astro styles', async () => {
const style = $('style[astro-style]');
expect(style.length).to.not.equal(0);
// Astro HTML Proxy styles
const styles = $('script[src*=".astro"][src$=".css"]');
expect(styles.length).to.not.equal(0);
});

it('resolves Styles from React', async () => {
Expand Down

0 comments on commit 804cf85

Please sign in to comment.