brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
snapshot-testGenerate Jest snapshot tests for components
Independent GitHub snapshot · Automated classification · Original documentation governs
Point it at your components, get snapshot tests. Covers common states and props.
npx ai-snapshot-test ./src/components/Button.tsx
# Generate for a component
npx ai-snapshot-test ./src/components/Card.tsx
# Generate for directory
npx ai-snapshot-test ./src/components/
# With specific test runner
npx ai-snapshot-test ./components --runner vitest
describe('Button', () => {
it('renders default state', () => {
const { container } = render(<Button>Click me</Button>);
expect(container).toMatchSnapshot();
});
it('renders disabled state', () => {
const { container } = render(<Button disabled>Click me</Button>);
expect(container).toMatchSnapshot();
});
});
Node.js 18+. OPENAI_API_KEY required.
MIT. Free forever.
Built by LXGIC Studios