Convert Cypress To Vitest Component

Convert Cypress component tests (*.cy.ts) to Vitest Browser Mode tests (*.browser.spec.ts) in the Kongponents library. Use this whenever the user asks to convert, migrate, port, or rewrite component tests from Cypress to Vitest, names one or more component folders under src/components to convert ("do KBadge and KAlert next", "convert KTable"), asks to continue or resume the Cypress-to-Vitest migration, or mentions Vitest browser mode for component tests. Use it even when the user never says "Cypress" or "Vitest" — a request to migrate, port, or redo the tests for a named Kongponent is this skill.

Kong Updated

File contents

kong/kongponents/tree/main/skills/convert-cypress-to-vitest-component commit ae17189e8b

Frequently asked questions

npx skillmds@latest add kong/convert-cypress-to-vitest-component