259a539d7d
* Remove legacy.astroFlavoredMarkdown * update vue mdx test * Add a changeset
16 lines
471 B
JavaScript
16 lines
471 B
JavaScript
import { prepareTestFactory } from './shared-component-tests.js';
|
|
|
|
const { test, createTests } = prepareTestFactory({ root: './fixtures/preact-compat-component/' });
|
|
|
|
const config = {
|
|
counterComponentFilePath: './src/components/Counter.jsx',
|
|
componentFilePath: './src/components/JSXComponent.jsx',
|
|
};
|
|
|
|
test.describe('preact/compat components in Astro files', () => {
|
|
createTests({
|
|
...config,
|
|
pageUrl: '/',
|
|
pageSourceFilePath: './src/pages/index.astro',
|
|
});
|
|
});
|