Unit tests

From neuron-one/GODMODE · View interactive version

Unit tests is an AI agent skill from the GitHub repository neuron-one/GODMODE. Unit test writing with Jest (JS/TS) or pytest (Python). Test structure, mocking, edge cases, coverage. Don't use for E2E or integration tests.

How to use this skill

Skill file

Unit Testing

Structure (Arrange-Act-Assert)

describe('ServiceName', () => {
  it('should [expected behavior] when [condition]', () => {
    // Arrange: setup
    // Act: call function
    // Assert: verify result
  });
});

What to Test

Mocking

Coverage Target

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.