Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds several new utility helpers (array/object/number/type) with tests and examples, and integrates Stryker mutation testing reporting with the Stryker Dashboard (including a README badge and CI env wiring).
Changes:
- Add new helpers:
compact,sum,pick,omit,isNullish(each with Vitest tests and example metadata files). - Enable Stryker Dashboard reporting (Stryker config + CI secret env var + README badge update).
Reviewed changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
stryker.config.mjs |
Adds Stryker Dashboard reporter/config for mutation reporting. |
helpers/type/isNullish.ts |
Introduces isNullish type guard helper. |
helpers/type/isNullish.test.ts |
Adds Vitest coverage for isNullish. |
helpers/type/isNullish.example.ts |
Adds example metadata for isNullish. |
helpers/object/pick.ts |
Introduces pick object helper. |
helpers/object/pick.test.ts |
Adds Vitest coverage for pick. |
helpers/object/pick.example.ts |
Adds example metadata for pick. |
helpers/object/omit.ts |
Introduces omit object helper. |
helpers/object/omit.test.ts |
Adds Vitest coverage for omit. |
helpers/object/omit.example.ts |
Adds example metadata for omit. |
helpers/number/sum.ts |
Introduces sum number helper. |
helpers/number/sum.test.ts |
Adds Vitest coverage for sum. |
helpers/number/sum.example.ts |
Adds example metadata for sum. |
helpers/array/compact.ts |
Introduces compact array helper. |
helpers/array/compact.test.ts |
Adds Vitest coverage for compact. |
helpers/array/compact.example.ts |
Adds example metadata for compact. |
README.md |
Updates mutation score badge to link to Stryker Dashboard endpoint. |
.github/workflows/pr-validation.yml |
Passes Stryker Dashboard API key into the mutation job environment. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
✅ PR Validation Passed
📋 Pipeline Status
📊 Code Coverage
🧬 Mutation Testing
ℹ️ About this report
🤖 Generated by @helpers4 CI • 2026-04-13 |
- remove isDefinedAndNotNull implementation and tests - update returnOrThrowError to use isNotNullish - add examples and tests for isNotNullish
- implement isFalsy function to check falsy values - create examples for isFalsy usage - update compact helper to use isFalsy
- change import path for isNullish in removeUndefinedNull - change import path for isObject in errorToReadableMessage refactor(array): ♻️ update import path for isArray in equals chore: 🔧 reorder radashi dependency in package.json and pnpm-lock.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Please include a summary of what this PR does and why it's needed.
Type of Change
Related Issues
Closes #(issue number)
How Has This Been Tested?
Describe the tests you ran and how to reproduce them:
Checklist
Screenshots (if applicable)
Add screenshots for UI changes.
Additional Context
Add any other context about the PR here.