Skip to content

Commit bf365e7

Browse files
sirtimidclaude
andcommitted
fix: Exclude endowments barrel from coverage
The endowments.ts barrel file is a pure re-export module with no logic to test, matching the existing exclusion pattern for index.ts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 28e1e99 commit bf365e7

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

packages/snaps-execution-environments/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = deepmerge(baseConfig, {
1010
coverageReporters: ['html', 'json-summary', 'json'],
1111
coveragePathIgnorePatterns: [
1212
'./src/index.ts',
13+
'./src/endowments.ts',
1314
'./src/iframe/index.ts',
1415
'./src/offscreen/index.ts',
1516
'./src/webworker/executor/index.ts',

packages/snaps-execution-environments/vitest.config.mts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ export default defineConfig({
114114
// The files to exclude from the coverage report.
115115
exclude: [
116116
'src/**/index.ts',
117+
'src/endowments.ts',
117118
'src/**/*.d.ts',
118119
'src/**/*.test.ts',
119120
'src/**/test-utils/**',

0 commit comments

Comments
 (0)