You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating test fixtures, use plain class strings. Reserve `tw`/`multiClassMap` for testing the component's conditional logic, not test setup:
217
+
```typescript
218
+
// ✅ Good - plain strings in tests
219
+
const element =awaitrenderComponent({class: 'test-class'});
220
+
221
+
// ❌ Avoid - unnecessary complexity in tests
222
+
const classNames =tw({'test-class': true});
223
+
const element =awaitrenderComponent({class: multiClassMap(classNames)});
224
+
```
225
+
173
226
## Post-Execution Summary
174
227
175
228
**Mandatory final todo:** Generate `.github/prompts/.executions/generate-vitest-test-atomic-lit-functional-component-[YYYY-MM-DD-HHmmss].prompt-execution.md` following `TEMPLATE.prompt-execution.md`.
**Files:** Keep original Stencil file (`facet-placeholder.tsx`), create Lit version with `.ts` extension (`facet-placeholder.ts`). Both coexist; imports reference original until consumers migrate.
0 commit comments