About
This skill provides comprehensive guidance on implementing and optimizing test lifecycles within the Bun environment. It offers production-ready patterns for database initialization, server setup, and mock management using Jest-compatible hooks like beforeAll and beforeEach. Whether you are handling complex nested suites, managing asynchronous teardowns, or configuring global preloads via bunfig.toml, this skill ensures Claude can assist in building robust, leak-free test environments with proper state management.