How to use
- Type a TypeScript function signature into the input field.
- Select the test framework: Vitest, Jest, or node:test.
- Read the generated skeleton in the output area — it includes a describe block, an it block per expected behavior, and typed parameter stubs.
- Copy the skeleton and paste it into your test file to fill in the assertions.
Examples
- Entering "function add(a: number, b: number): number" with Vitest selected generates a describe('add') block with an it('should return a number') stub and typed arguments.
- Switching to Jest produces the same structure using jest.expect syntax instead of Vitest's.