Skip to content

Commit

Permalink
remove lit from test running
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKSchott committed Mar 9, 2022
1 parent 1aa9fe4 commit 9a8ed61
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "0.0.0",
"private": true,
"dependencies": {
"astro": "workspace:*",
"@astrojs/renderer-lit": "workspace:*"
"astro": "workspace:*"
}
}

This file was deleted.

This file was deleted.

6 changes: 4 additions & 2 deletions packages/astro/test/static-build-frameworks.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('Static build - frameworks', () => {
before(async () => {
fixture = await loadFixture({
projectRoot: './fixtures/static-build-frameworks/',
renderers: ['@astrojs/renderer-preact', '@astrojs/renderer-react', '@astrojs/renderer-lit'],
renderers: ['@astrojs/renderer-preact', '@astrojs/renderer-react'],
buildOptions: {
experimentalStaticBuild: true,
},
Expand All @@ -30,7 +30,9 @@ describe('Static build - frameworks', () => {
expect(html).to.be.a('string');
});

it('can build lit', async () => {
// SKIP: Lit polyfills the server in a way that breaks `sass` require/import
// Leads to CI bugs like: "Cannot read properties of undefined (reading 'length')"
it.skip('can build lit', async () => {
const html = await fixture.readFile('/lit/index.html');
expect(html).to.be.a('string');
});
Expand Down

0 comments on commit 9a8ed61

Please sign in to comment.