Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Add standalone raw V8 coverage validation and per-script compaction.",
"type": "minor",
"packageName": "@rushstack/heft-jest-plugin"
}
],
"packageName": "@rushstack/heft-jest-plugin",
"email": "59129034+yashwanth195@users.noreply.github.com"
}
4 changes: 4 additions & 0 deletions common/config/rush/browser-approved-packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/approved-packages.schema.json",
"packages": [
{
"name": "@bcoe/v8-coverage",
"allowedCategories": [ "libraries" ]
},
{
"name": "@fluentui/react",
"allowedCategories": [ "libraries", "vscode-extensions" ]
Expand Down
17 changes: 9 additions & 8 deletions common/config/subspaces/build-tests-subspace/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush.
{
"pnpmShrinkwrapHash": "18a657d83020df41f6602b7c9087b7253cfee8e0",
"pnpmShrinkwrapHash": "98213830272f4d538689298fb79024c1e4829c2c",
"preferredVersionsHash": "550b4cee0bef4e97db6c6aad726df5149d20e7d9",
"packageJsonInjectedDependenciesHash": "293debc6ed16567f5567a7748229a73be6647cc6"
"packageJsonInjectedDependenciesHash": "cb3540bac82315d9512a19a124c70a8a34419d01"
}
25 changes: 14 additions & 11 deletions common/config/subspaces/default/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/config/subspaces/default/repo-state.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush.
{
"pnpmShrinkwrapHash": "a21e9138c38033203ce379c3ec1a9aa12562d3c6",
"pnpmShrinkwrapHash": "c292b31aea80e910ef742495873b27b273fc04aa",
"preferredVersionsHash": "029c99bd6e65c5e1f25e2848340509811ff9753c"
}
6 changes: 6 additions & 0 deletions heft-plugins/heft-jest-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

This is a Heft plugin for running Jest.

`@rushstack/heft-jest-plugin/lib/JestV8Coverage` provides raw V8 range validation and per-script compaction
for typed observations. Callers remain responsible for JSON validation, source identity and source-map
integrity. This utility does not enable sharding, collect coverage or convert coverage reports.
Coincident function spans require complete captures in V8 nesting order; sparse incremental captures are unsupported.
Distinct named roles sharing a non-root span, such as class initializers, are compacted separately.

## Links

- [CHANGELOG.md](
Expand Down
1 change: 1 addition & 0 deletions heft-plugins/heft-jest-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
}
},
"dependencies": {
"@bcoe/v8-coverage": "0.2.3",
"@jest/core": "~30.3.0",
"@jest/reporters": "~30.3.0",
"@jest/transform": "~30.3.0",
Expand Down
Loading
Loading