Skip to content
cccskills
FreePublished on GitHubEnglish overview

handsontable-unit-testing

Write and update Handsontable unit tests with Jest and type tests with TypeScript. Explains file placement, focused test runs, boundary cases, and checks for public types, while helping choose between isolated logic tests and browser tests.

OriginalShow the original description

Use when writing or modifying Jest unit tests (*.unit.js or *.unit.ts) or TypeScript type tests (*.types.ts) for Handsontable core, plugins, or utilities, or when a bug fix or internal refactor needs unit or type test coverage - covers Jest setup, test location conventions, mocking patterns, module aliases, type test patterns (no declare, real assignments, ESM + UMD patterns), and when to choose unit tests over E2E tests

handsontable/handsontable22,083 stars(GitHub 22,083 + cccskills 0)
Works withPlaywright

Run score Not tested

See how to install

Good for

  • Adding unit tests for calculations and data transformations
  • Covering bug fixes and internal refactoring
  • Checking TypeScript declarations and public exports
  • Choosing between unit tests and browser tests

Overview

What it does

This skill helps create and update Jest unit tests for Handsontable logic and TypeScript type tests for its public declarations. It explains where test files belong, how to name them, how to import dependencies explicitly, and how to run a focused test set. For type tests, it covers assigning real values to declared types and checking both ESM and UMD usage.

When it helps

Use it when changing calculations, data transformations, utilities, or plugin logic, including during bug fixes and refactoring. It helps identify boundary cases, error states, and large datasets that should be tested. It also explains when an isolated unit test is suitable and when a browser E2E test is more appropriate for interactions, rendering, or visual behavior.

Example requests

  • “Add unit tests for boundary cases and large datasets in this data transformation.”
  • “Check the public type in both ESM and UMD usage.”
  • “Should this behavior be covered by a unit test or an E2E test?”

Notes

Unit tests use Jest, jsdom, and jest-jasmine2. Type tests check declarations generated by npm run build:types. A test that needs module replacement should be an E2E test. After running tests, check that the expected number of files was actually tested; a green command summary can otherwise be misleading.

This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.

Document check

AI checked the SKILL.md for operations that need care and for setup requirements. The score comes only from actually running the skill (hands-on test).

SafetyAre sending data, deleting files, and running commands disclosed?
AGoodThe documented actions run tests; no deletion or external sending is specified.
Easy setupDoes it need few tools or API keys, and are they documented?
BPartly lackingJest tools and a type build are required, but installation steps are absent.

Not counted in the score. Rated by AI (OpenAI Codex) as of Oct 28, 2026. Treat it as a guide and read the original before installing.

Disagree? Request a re-evaluation

Tell us which point is wrong and why. No login needed. We will check it against the SKILL.md, redo the evaluation, and show the result here.

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

Files included (1)

  • SKILL.md5.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Develop and modify the Handsontable Angular wrapper with guidance on component lifecycle, settings updates, and NgZone, which controls change detection. It also covers standalone examples, global configuration, and the build and test workflow.

  • Fix settings updates in the Angular wrapper
  • Review change detection around grid operations
  • Update examples to standalone components
handsontable/handsontable22.1KUpdated Dec 5, 2026

Open local or public web pages in BrowserStack Live for checks on real mobile devices or desktop browsers. The skill prepares temporary access to a local server, launches the requested session, and shares its dashboard link.

  • Check a local page on an Android device
  • Open a page in Safari on an iPhone or iPad
  • Inspect behavior in a specific desktop browser
handsontable/handsontable22.1KUpdated Oct 31, 2026

Prepare user-facing changelog entries for source code changes. The skill determines whether an entry is needed, classifies the change, writes a clear title, and uses the project CLI to create a JSON file tied to the pull request.

  • Add a changelog entry for a bug fix
  • Classify a new feature or behavior change
  • Explain a breaking change and its replacement
handsontable/handsontable22.1KUpdated Oct 31, 2026

code-graph

FreeSummary

Explore relationships between functions and files using a prebuilt code graph, a map of code dependencies. Trace bugs, inspect callers and execution paths, and assess the impact of refactoring or proposed changes.

  • Explore callers and dependencies in unfamiliar code
  • Trace a bug across multiple files
  • Assess the impact of renaming or removing code
handsontable/handsontable22.1KUpdated Oct 31, 2026

Work with Handsontable row and column positions by distinguishing source data, displayed order, and rendered cells. It guides index conversion and helps investigate misplaced data when sorting, filtering, hiding, or moving rows and columns.

  • Investigating misplaced rows or columns
  • Converting between source and displayed indexes
  • Combining filters with manual column movement
handsontable/handsontable22.1KUpdated Oct 31, 2026

Create Handsontable documentation examples for JavaScript, TypeScript, React, Angular, and Vue. The skill explains source files, generated JavaScript, required imports and license settings, embedding examples in guides, and checking that each framework version displays correctly.

  • Adding a code example to a feature guide
  • Preparing examples for multiple frameworks
  • Generating JavaScript examples from TypeScript
handsontable/handsontable22.1KUpdated Dec 5, 2026

See all skills by handsontable

Report a problem with this skill