Repository navigation
test: add coverage for includesModifier - #1060
Open
DatenpflegeNordHL wants to merge 3 commits into
Open
DatenpflegeNordHL wants to merge 3 commits into
DatenpflegeNordHL wants to merge 3 commits into
Conversation
Apply the project's Prettier formatting and use "non-matching" so cspell passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
|
Merged the latest main into this branch. The earlier workflow runs never started any jobs. Could a maintainer approve the workflow runs? Locally on Node 26 the tests pass with TypeScript 5.5.4, 5.9.3 and 6.0.3, and build, tsc, lint, prettier, cspell, knip, markdownlint, typedoc and publint are clean. |
This branch has not been deployed
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.
PR Checklist
status: accepting prsOverview
Fixes #12.
includesModifieris the only function insrc/modifiers.tsand had no tests.This adds
src/modifiers.test.tswith eight Vitest cases that build modifiers viats.factory:undefinedmodifiers returnfalsefalsefalsetruefalseSet) is acceptedModifierLikebut not a modifier kind) does not matchNo source changes.
Checks run locally after merging the latest
main(Node 26.12.1, pnpm 10.34.4,pnpm install --frozen-lockfile):pnpm run test --coverage --run: 17 files, 326 tests passed with TypeScript 5.5.4, 5.9.3 and 6.0.3pnpm build,node ./lib/index.mjs,pnpm run lint:package: passedpnpm tsc,pnpm lint,pnpm lint:docs,pnpm lint:knip,pnpm lint:md,pnpm lint:packages,pnpm lint:spelling: passedpnpm format --list-different: no differencesI haven't run the other Node versions of the CI matrix locally.
AI-assisted development disclosure: This change was developed with AI coding assistance (Anthropic Claude via Claude Code). Every change was reviewed, tested and, where needed, revised by a human developer at DatenpflegeNord, who takes full responsibility for this contribution. We disclose AI assistance for transparency, following the transparency principles of the EU AI Act.
💖