Skip to content

Switch to tshy, vitest & Biome #1596

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 29, 2025
Merged

Switch to tshy, vitest & Biome #1596

merged 2 commits into from
Jun 29, 2025

Conversation

fb55
Copy link
Owner

@fb55 fb55 commented Jun 29, 2025

No description provided.

@fb55 fb55 requested a review from Copilot June 29, 2025 16:41
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR switches the project’s testing and build toolchain from Jest to Vitest, adopts tshy for building, and configures Biome for linting and formatting. Key changes include updated configuration files (vitest.config.ts, package.json, biome.json), adjusted source and test file imports to use explicit .js extensions for ESM support, and revisions to test code and helper files for improved style consistency and tool compatibility.

Reviewed Changes

Copilot reviewed 29 out of 32 changed files in this pull request and generated no comments.

Show a summary per file
File Description
vitest.config.ts New Vitest configuration with V8 coverage and node environment.
test/tools/sizzle-testinit.ts Updated imports and document loading logic for consistency.
test/tools/helper.ts Minor changes to import order and format.
test/sizzle.ts, test/qwery.ts, test/pseudo-classes.ts Updated for block-style loop formatting and Vitest imports.
test/nwmatcher.ts, test/attributes.ts Adjusted to use explicit module imports and block formatting.
src/* (various source files) Import adjustments, brace-enclosed conditions, and stylistic tweaks.
package.json, biome.json, .github/workflows/nodejs-test.yml Updated build, lint, and test scripts with new tools and ESM paths.
.eslintrc.json, .eslintignore, .prettierignore Removed ESLint config and ignore files in favor of Biome.

@fb55 fb55 enabled auto-merge (squash) June 29, 2025 16:42
@fb55 fb55 merged commit f7fd5fc into master Jun 29, 2025
12 checks passed
@fb55 fb55 deleted the vitest-biome-tshy branch June 29, 2025 16:42
@coveralls
Copy link

coveralls commented Jun 29, 2025

Coverage Status

coverage: 99.68% (+3.3%) from 96.345%
when pulling 31cdb0a on vitest-biome-tshy
into b3f14ec on master.

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