diff --git a/integration/__fixtures__/static-site/src/routes/01-assets/_02-import-with-query-css-inline.my-el.ts b/integration/__fixtures__/static-site/src/routes/01-assets/_02-import-with-query-css-inline.my-el.ts index 45ce393..bd2c24e 100644 --- a/integration/__fixtures__/static-site/src/routes/01-assets/_02-import-with-query-css-inline.my-el.ts +++ b/integration/__fixtures__/static-site/src/routes/01-assets/_02-import-with-query-css-inline.my-el.ts @@ -1,7 +1,7 @@ import { LitElement, html, css, unsafeCSS } from 'lit'; import { customElement, property, state } from 'lit/decorators.js'; -import stylesInline from './_02-import-with-query-inline.scss'; +import stylesInline from './_02-import-with-query-inline.scss?inline'; @customElement('my-el-with-inline-css') export class MyEl extends LitElement { diff --git a/integration/__fixtures__/static-site/src/routes/01-assets/01-import-with-query-url.ts b/integration/__fixtures__/static-site/src/routes/01-assets/_disabled/01-import-with-query-url.ts similarity index 87% rename from integration/__fixtures__/static-site/src/routes/01-assets/01-import-with-query-url.ts rename to integration/__fixtures__/static-site/src/routes/01-assets/_disabled/01-import-with-query-url.ts index 0733b43..2cab2f3 100644 --- a/integration/__fixtures__/static-site/src/routes/01-assets/01-import-with-query-url.ts +++ b/integration/__fixtures__/static-site/src/routes/01-assets/_disabled/01-import-with-query-url.ts @@ -1,7 +1,7 @@ import { defineRoute } from '@gracile/server/route'; import { html } from 'lit'; -import { document } from '../../documents/document-with-assets.js'; +import { document } from '../../../documents/document-with-assets.js'; import customStylesheet from './_00-import-with-query-url--server-2.scss?url'; import './_01-import-with-query-url.my-el.js'; diff --git a/integration/__fixtures__/static-site/src/routes/01-assets/_01-import-with-query-url-2.scss b/integration/__fixtures__/static-site/src/routes/01-assets/_disabled/_01-import-with-query-url-2.scss similarity index 100% rename from integration/__fixtures__/static-site/src/routes/01-assets/_01-import-with-query-url-2.scss rename to integration/__fixtures__/static-site/src/routes/01-assets/_disabled/_01-import-with-query-url-2.scss diff --git a/integration/__fixtures__/static-site/src/routes/01-assets/_01-import-with-query-url.my-el.ts b/integration/__fixtures__/static-site/src/routes/01-assets/_disabled/_01-import-with-query-url.my-el.ts similarity index 95% rename from integration/__fixtures__/static-site/src/routes/01-assets/_01-import-with-query-url.my-el.ts rename to integration/__fixtures__/static-site/src/routes/01-assets/_disabled/_01-import-with-query-url.my-el.ts index cfd809b..7eb4757 100644 --- a/integration/__fixtures__/static-site/src/routes/01-assets/_01-import-with-query-url.my-el.ts +++ b/integration/__fixtures__/static-site/src/routes/01-assets/_disabled/_01-import-with-query-url.my-el.ts @@ -1,7 +1,7 @@ import { LitElement, html, css } from 'lit'; import { customElement, property, state } from 'lit/decorators.js'; -import styles from './_00-import-with-query-url.scss?url'; +import styles from './_01-import-with-query-url.scss?url'; @customElement('my-el') export class MyEl extends LitElement { diff --git a/integration/__fixtures__/static-site/src/routes/01-assets/_01-import-with-query-url.scss b/integration/__fixtures__/static-site/src/routes/01-assets/_disabled/_01-import-with-query-url.scss similarity index 100% rename from integration/__fixtures__/static-site/src/routes/01-assets/_01-import-with-query-url.scss rename to integration/__fixtures__/static-site/src/routes/01-assets/_disabled/_01-import-with-query-url.scss diff --git a/integration/src/assets.test.ts b/integration/src/assets.test.ts index 90756fb..1c8c9d4 100644 --- a/integration/src/assets.test.ts +++ b/integration/src/assets.test.ts @@ -76,24 +76,24 @@ describe('sibling assets', async () => { }); }); -// TODO: This test need a bit more work, notably for hydration -// FIXME: `/@fs/` is wrong. In build and dev. -// It works outside this test environment otherwise. -describe('assets with query url', async () => { - const route = '01-import-with-query-url'; +// // TODO: This test need a bit more work, notably for hydration +// // FIXME: `/@fs/` is wrong. In build and dev. +// // It works outside this test environment otherwise. +// describe('assets with query url', async () => { +// const route = '01-import-with-query-url'; - await it('render the route with links stylesheets', async () => { - await snapshotAssertEqual({ - expectedPath: [ - projectRoutes, - currentTestRoutes, - `_${route}_expected.html`, - ], - actualContent: await fetchResource(address, [currentTestRoutes, route]), - writeActual, - }); - }); -}); +// await it('render the route with links stylesheets', async () => { +// await snapshotAssertEqual({ +// expectedPath: [ +// projectRoutes, +// currentTestRoutes, +// `_${route}_expected.html`, +// ], +// actualContent: await fetchResource(address, [currentTestRoutes, route]), +// writeActual, +// }); +// }); +// }); describe('assets with query inline', async () => { const route = '02-import-with-query-css-inline';