• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

optimizely / javascript-sdk / 42643088294
77%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2026 03:17PM UTC
Jobs 4
Files 126
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Nov 2026 03:16PM UTC coverage: 77.513%. Remained the same
42643088294

push

github

web-flow
[FSSDK-13413] Remove the old browser/UMD test setup and Karma leftovers (#1187)

## Summary
Follow-up to #1186. `tests/browser` now runs browser and UMD tests in CI, so this removes the setup it replaced, plus leftovers from the Karma era.

- **Remove the old root browser/UMD setup.**
  - Deleted: `vitest.browser.config.mts`, `vitest.umd.config.mts`, `scripts/run-browser-tests.js`, `scripts/run-umd-tests.js`, `scripts/patch-vitest-viewport.js`, `vitest/umd-plugin.ts`.
  - Root `package.json`: removed the `test-browser*` / `test-umd*` scripts and the `@vitest/browser`, `browserstack-local` and `webdriverio` devDependencies.
  - Root lockfile: 220 entries removed, none added. `npm uninstall` alone would have kept `@vitest/browser`/`webdriverio` and their dependencies as optional peers of the root Vitest, so those were pruned too. Re-resolving moved `@babel/runtime` from 7.28.4 to 7.29.13 (in range).
- **Make `tests/browser` self-contained.** It no longer imports from the root `vitest/` folder, which is gone.
  - The request logger and `public/console-capture.js` moved into it.
  - The console-capture plugin was merged into the local one: it keeps the `/__vitest_console__` endpoint and injects the script via `transformIndexHtml`.
  - The UMD bundle is copied to `tests/browser/public/dist`, which is gitignored via `dist/`.
- **Remove Karma leftovers.**
  - Deleted `lib/index.browser.umdtests.js`. Nothing ran it, and two of its imports no longer exist.
  - Removed the `*.umdtests.js` patterns from `.eslintignore`, both tsconfigs, `.platform-isolation.config.js` and `scripts/platform-utils.js`.
  - Removed the `BROWSER_STACK_*` env var fallbacks and the commented-out `crossbrowser_and_umd_unit_tests` CI job.
- **Update docs and comments.**
  - Comments and the `tests/browser` README describe the current setup instead of comparing it with the removed one.
  - `vitest3-compat.setup.ts` is renamed to `restore-all-mocks.setup.ts`.
  - The root README's testing ... (continued)

1564 of 3059 branches covered (51.13%)

Branch coverage included in aggregate %.

9001 of 10571 relevant lines covered (85.15%)

261.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-20 - 42643088294.1 09 Nov 2026 03:17PM UTC 126
77.51
GitHub Action Run
2 run-24 - 42643088294.2 09 Nov 2026 03:18PM UTC 126
77.51
GitHub Action Run
3 run-18 - 42643088294.3 09 Nov 2026 03:17PM UTC 126
77.51
GitHub Action Run
4 run-22 - 42643088294.4 09 Nov 2026 03:18PM UTC 126
77.51
GitHub Action Run
Source Files on build 42643088294
  • Tree
  • List 126
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 241c9c9f on github
  • Prev Build on master (#42257282852)
  • Next Build on master (#43481805754)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc