Skip to content

tests: migrate unit tests from Cypress e2e style tests to vitest#974

Merged
cacieprins merged 5 commits intobreaking/cy-expose-configfrom
post-expose/vitest
Feb 9, 2026
Merged

tests: migrate unit tests from Cypress e2e style tests to vitest#974
cacieprins merged 5 commits intobreaking/cy-expose-configfrom
post-expose/vitest

Conversation

@cacieprins
Copy link
Copy Markdown
Contributor

@cacieprins cacieprins commented Feb 9, 2026

Migrates library unit tests from Cypress e2e tests to Vitest unit tests. This is in preparation for migrating the lib source files to typescript, so that future dependency updates can go more smoothly than nyc 15 -> 17. The offending placeholder test is skipped in this, and will be re-enabled after the typescript migration is merged in.

No library source code was edited functionally, but distribution files were moved from the root of project to ./lib, and a proper exports manifest is now included in the package.json.

The windows test is currently failing. This test is also failing in the target branch. It may be related to the nyc 15 -> 17 upgrade.

@cacieprins cacieprins requested a review from mschile February 9, 2026 16:06
@cacieprins cacieprins self-assigned this Feb 9, 2026
@cacieprins cacieprins merged commit 4a87d16 into breaking/cy-expose-config Feb 9, 2026
22 of 23 checks passed
@cacieprins cacieprins deleted the post-expose/vitest branch February 9, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants