Skip to content

Add Mocha Types as a optional dependency for Intellisense#5495

Merged
JustinGrote merged 2 commits into
mainfrom
justingrote/fix/testMochaGlobals
May 13, 2026
Merged

Add Mocha Types as a optional dependency for Intellisense#5495
JustinGrote merged 2 commits into
mainfrom
justingrote/fix/testMochaGlobals

Conversation

@JustinGrote
Copy link
Copy Markdown
Collaborator

@JustinGrote JustinGrote commented May 13, 2026

Add Mocha as a devdependency to restore Intellisense functionality. Update TypeScript configuration to include Mocha types.

Fixes regression from cb773b1

Copilot AI review requested due to automatic review settings May 13, 2026 16:08
@JustinGrote JustinGrote requested a review from a team as a code owner May 13, 2026 16:08
@JustinGrote JustinGrote self-assigned this May 13, 2026
@JustinGrote JustinGrote enabled auto-merge (squash) May 13, 2026 16:10
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to restore TypeScript IntelliSense for the repo’s Mocha-based test suite by adding Mocha typings and adjusting TypeScript configuration.

Changes:

  • Added @types/mocha to package.json.
  • Updated tsconfig.json to include Mocha types for compilation/type acquisition.
  • Updated package-lock.json accordingly.

Reviewed changes

Copilot reviewed 1 out of 3 changed files in this pull request and generated 2 comments.

File Description
tsconfig.json Adds a types entry intended to bring Mocha globals (e.g., describe, it) into TypeScript IntelliSense.
package.json Adds @types/mocha to dependencies to provide Mocha typings.
package-lock.json Lockfile updates reflecting the added @types/mocha entry.

Comment thread package.json
Comment thread package.json
@JustinGrote JustinGrote changed the title Add Mocha as a devdependency for Intellisense Add Mocha Types as a optional dependency for Intellisense May 13, 2026
@JustinGrote JustinGrote merged commit 3093d26 into main May 13, 2026
8 checks passed
@JustinGrote JustinGrote deleted the justingrote/fix/testMochaGlobals branch May 13, 2026 23:08
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