Skip to content

public-ui/kolibri-jest-testing-library-sample

Repository files navigation

Kolibri Jest Test Examples

A React TypeScript project demonstrating two different approaches for mocking/simulating Kolibri events with Jest.

Overview

This project showcases how to test Kolibri UI button interactions using:

  • Callback approach: Direct callback function testing
  • Event approach: Custom event listener testing with kolClick events

Getting Started

npm install
npm test         # Run tests
npm run dev      # Start development server

Test Examples

Both components demonstrate testing patterns for Kolibri UI's KolButton component with different event handling approaches.

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published