Skip to content

CCM-16002 - add jest and node types to base config#122

Merged
rhyscoxnhs merged 2 commits intomainfrom
feature/CCM-16002-jest-globals
Apr 14, 2026
Merged

CCM-16002 - add jest and node types to base config#122
rhyscoxnhs merged 2 commits intomainfrom
feature/CCM-16002-jest-globals

Conversation

@mjewildnhs
Copy link
Copy Markdown
Contributor

@mjewildnhs mjewildnhs commented Apr 9, 2026

Description

VS Code was reporting cannot find name 'jest' in test files even though unit tests passed in CLI. Adding explicit types in tsconfig.base.json makes Jest globals available to tsserver across workspaces and preserves Node globals by including node types alongside

Context

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@mjewildnhs mjewildnhs requested a review from a team as a code owner April 9, 2026 13:01
@mjewildnhs mjewildnhs requested a review from cgitim April 10, 2026 09:03
mjewildnhs and others added 2 commits April 14, 2026 15:05
VS Code was reporting cannot find name 'jest' in test files even though unit tests passed in CLI.
Adding explicit types in tsconfig.base.json makes Jest globals available to tsserver across workspaces and preserves Node globals by including node types alongside
@mjewildnhs mjewildnhs force-pushed the feature/CCM-16002-jest-globals branch from 5f7706f to d3a5bad Compare April 14, 2026 14:06
@rhyscoxnhs rhyscoxnhs enabled auto-merge (squash) April 14, 2026 14:07
@rhyscoxnhs rhyscoxnhs merged commit 91e2f66 into main Apr 14, 2026
17 checks passed
@mjewildnhs mjewildnhs deleted the feature/CCM-16002-jest-globals branch April 14, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants