Add unit tests, modernize tooling and release 7.0.0 (ESM output) - #11
Merged
Iuliia Kulagina (kullJul) merged 4 commits intoSep 1, 2026
Merged
Conversation
Alexey (Demonkratiy)
left a comment
There was a problem hiding this comment.
Ran the whole CI pipeline locally on this branch: lint, test:typecheck, test:coverage (80 tests, 96.3% statements / 92.1% branches), build, and npm audit --audit-level=high --omit=dev — all green. Lock file is clean too (no resolved outside registry.npmjs.org, no sha1- integrity).
Notes are inline.
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.
Add unit tests, modernize tooling and release 7.0.0
Aligns the package with the other powerbi-visuals-utils v7 repositories:
adds a unit test suite, migrates the lint/build tooling and makes CI
actually verify the code.
Tests:
representation, so a mock is aliased in place of the package while
testing
Tooling:
test:typecheck, lint, lint:fix
Packaging:
CI:
and 22; previously only lint ran
Fixes:
with the
inoperator, which tests array indices instead of values, sothe selection origin offset was never applied to NumericText and was
wrongly applied to None
argument the implementation already accepted
BREAKING CHANGE: the package is published as ES2020 modules instead of
CommonJS, so a direct require() from Node is no longer supported; bundler
based consumption (webpack/pbiviz) is unaffected.
BREAKING CHANGE: powerbi-visuals-api moved to devDependencies and is no
longer installed transitively.