mirror of
https://github.com/zoriya/v10.git
synced 2026-08-06 22:28:24 +00:00
feat(site): feature and preset reference UI + docs integration (#1258)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
5301202a18
commit
d4b805ea69
@@ -894,6 +894,11 @@ describe('Preset pipeline (end-to-end)', () => {
|
||||
// ─────────────────────────────────────────────────────────────────
|
||||
|
||||
describe('video preset', () => {
|
||||
it('extracts description from file-level JSDoc', () => {
|
||||
const ref = findPreset('video')!.reference;
|
||||
expect(ref.description).toContain('Mock React video preset');
|
||||
});
|
||||
|
||||
it('identifies the feature bundle', () => {
|
||||
const ref = findPreset('video')!.reference;
|
||||
expect(ref.featureBundle).toBe('videoFeatures');
|
||||
|
||||
Reference in New Issue
Block a user