ankh-test
v0.1.25
Published
   
Readme
Ankhorage Test
A native-feeling test toolbox & CLI for React component testing — minimal, fast, and expressive.
Includes a Vitest-powered CLI (ankh-test) and a typed test utility module ready to use across your projects.
Features
- ✅ Unified test CLI:
ankh-test, powered by Vitest - ✅ Built-in support for
jsdom,@testing-library/react,assert.strict - ✅ Fully typed API, no global setup needed
- ✅ Ideal for component/unit testing in React, with native-like experience
Installation
Install locally into any project:
pnpm add -D ankh-testUsage
import { describe, it, render, screen, assert } from 'ankh-test'
describe('Example', () => {
it('works', () => {
render(<h1>Hello</h1>)
expect(screen.getByText('Hello')).toBeInTheDocument()
})
})