Skip to content

[FSSDK-12879] Remove Karma testing infrastructure#1162

Merged
raju-opti merged 4 commits into
masterfrom
raju/karma
Jul 7, 2026
Merged

[FSSDK-12879] Remove Karma testing infrastructure#1162
raju-opti merged 4 commits into
masterfrom
raju/karma

Conversation

@raju-opti

Copy link
Copy Markdown
Contributor

Summary

Karma config files, scripts, and devDependencies are no longer used. Remove them along with the README reference.

Karma config files, scripts, and devDependencies are no longer used.
Remove them along with the README reference.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

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 removes the legacy Karma-based testing infrastructure from the JavaScript SDK, including configuration files and the associated npm scripts/devDependencies.

Changes:

  • Removes Karma configuration files from the repository.
  • Updates package.json to drop Karma test scripts and Karma-related devDependencies.
  • Updates documentation to stop claiming Karma is used for unit testing.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
README.md Removes Karma mention from unit test tooling overview (but cross-browser section still needs updating).
package.json Removes Karma test scripts/devDependencies; simplifies test-ci.
package-lock.json Removes Karma and its dependency tree from the lockfile.
karma.umd.conf.js Deleted (Karma UMD test runner config).
karma.local_chrome.umd.conf.js Deleted (local Chrome UMD Karma config).
karma.local_chrome.bs.conf.js Deleted (local Chrome BrowserStack Karma config).
karma.bs.conf.js Deleted (BrowserStack Karma config).
karma.base.conf.js Deleted (shared Karma base config).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
@coveralls

coveralls commented Jul 7, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 77.701% (-0.02%) from 77.724% — raju/karma into master

@raju-opti raju-opti changed the title Remove Karma testing infrastructure [FSSDK-12879] Remove Karma testing infrastructure Jul 7, 2026

@junaed-optimizely junaed-optimizely left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

Comment thread README.md Outdated
Comment on lines +233 to +234
4. Run `npm run test-mocha` to run only tests written using Mocha.
4. (For cross-browser testing) Run `npm run test-xbrowser` to run tests in many browsers via BrowserStack.
4. (For cross-browser testing) Run `npm run test-browser-browserstack` to run browser tests via BrowserStack, or `npm run test-browser-local` to run them locally.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

NIT: Nothing related to this PR, but could we fix the numbering order of this list ? Looks like there are two "4" now.

@raju-opti raju-opti merged commit e3ba148 into master Jul 7, 2026
20 of 24 checks passed
@raju-opti raju-opti deleted the raju/karma branch July 7, 2026 15:46
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.

4 participants