Fix styles-ssr timeout (#1891)

This commit is contained in:
Drew Powers 2021-11-18 15:18:59 -07:00 committed by GitHub
parent 637cf499fa
commit 36f2f5d33e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,9 +2,6 @@ import { expect } from 'chai';
import cheerio from 'cheerio';
import { loadFixture } from './test-utils.js';
describe('Styles SSR', function () {
this.timeout(10000);
let fixture;
let index$;
let bundledCSS;
@ -23,6 +20,7 @@ describe('Styles SSR', function () {
bundledCSS = await fixture.readFile(bundledCSSHREF.replace(/^\/?/, '/'));
});
describe('Styles SSR', function () {
describe('Astro styles', () => {
it('HTML and CSS scoped correctly', async () => {
const $ = index$;