import { describe, expect, it } from 'vitest'; import { createDefinitionPlugin } from '../src/definitionPlugin.js'; import { createHoverPlugin } from '../src/hoverPlugin.js'; import { create_typescript_harness } from './setup.js'; // Assigned style blocks lower to `{ '$class': '', card: ' card' }` in the generated // TSX, so member access on them is ordinary TypeScript: hover and definition go through the // generated code and its mappings. const SOURCE = `const theme = ; export function App() @{