Create comprehensive unit tests for a module
Write unit tests. Cover happy path, errors, edge cases. Use Vitest with mocks. One assertion per test. AAA pattern.
Adding tests