Skip to content

Update test structure#44

Merged
reyhankaplan merged 2 commits into
masterfrom
update-test-structure
Nov 22, 2025
Merged

Update test structure#44
reyhankaplan merged 2 commits into
masterfrom
update-test-structure

Conversation

@reyhankaplan

Copy link
Copy Markdown
Collaborator

No description provided.

@reyhankaplan reyhankaplan requested a review from kutsan November 22, 2025 20:13
Base automatically changed from use-typescript to master November 22, 2025 20:14
@reyhankaplan reyhankaplan marked this pull request as ready for review November 22, 2025 20:20
Copilot AI review requested due to automatic review settings November 22, 2025 20:20

Copilot AI left a comment

Copy link
Copy Markdown

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 introduces test infrastructure to the project by adding Vitest as the testing framework, creating initial test files for stylelint configuration validation, and integrating tests into the CI/CD pipeline.

Key Changes

  • Added Vitest testing framework with test files for validating stylelint configurations
  • Updated dependencies: moved stylelint-order to devDependencies at v7.0.0 and added vitest v4.0.13
  • Integrated a new test job in the GitHub Actions CI workflow

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
tests/styles.test.ts New test file that validates stylelint configurations (warning and error severity modes)
tests/styles.css CSS fixture file used for testing stylelint rules
tests/process-linter-result.ts Helper utility to process and format stylelint results for test assertions
package.json Added test script and updated dependencies (vitest, stylelint-order)
pnpm-lock.yaml Updated lockfile to reflect new and upgraded dependencies
pnpm-workspace.yaml Added workspace configuration to only build esbuild dependency
.github/workflows/ci.yaml Added new test job to run vitest in CI pipeline
scripts/install-husky.ts Added informational message when skipping Husky installation
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/process-linter-result.ts
Comment thread tests/styles.css
Comment thread tests/styles.test.ts
Comment thread tests/styles.test.ts
@reyhankaplan reyhankaplan merged commit 91b29c5 into master Nov 22, 2025
14 checks passed
@reyhankaplan reyhankaplan deleted the update-test-structure branch November 22, 2025 20:23
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 7.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants