Skip to content

chore(deps-dev): upgrade Mocha to 12 in the example - #418

Open
dependabot[bot] wants to merge 7 commits into
mainfrom
dependabot/npm_and_yarn/example/mocha-12.0.2
Open

dependabot[bot] wants to merge 7 commits into
mainfrom
dependabot/npm_and_yarn/example/mocha-12.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Mocha 12 changes the module entry point used by the example's test runner, which breaks its Jest loader and pulls Node-only modules into Metro. This upgrades the example to Mocha 12 and loads its prebuilt browser runtime explicitly. The runner tests now exercise that runtime directly, and its exported instance has a TypeScript declaration.

The lockfile resolves Mocha 12.0.3 for the mobile example. The separate macOS workspace retains its existing Mocha version, and the shared browser import works with both versions.

Depends on #429, which removes the workflow that force-pushed over Dependabot PR updates. Merge the CI changes first, then merge this upgrade.

Reproduction

Open the example's test screen and run the database tests. The suite tree and passing or failing results should update as the run progresses. The runner's eight tests pass with the real browser runtime, and production JavaScript bundles build for iOS, Android, and macOS.

@dependabot dependabot Bot added dependencies Dependency updates in packages or tooling. ecosystem:npm JavaScript package dependency updates. labels Sep 29, 2026
@vercel

vercel Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
react-native-nitro-sqlite Ready Ready Preview Oct 2, 2026 5:43am UTC

Request Review

@github-actions
github-actions Bot force-pushed the dependabot/npm_and_yarn/example/mocha-12.0.2 branch from 7b56656 to a3bd466 Compare September 29, 2026 23:07
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/example/mocha-12.0.2 branch from a3bd466 to 4766ee2 Compare October 1, 2026 10:33
chrispader and others added 2 commits October 1, 2026 13:00
Bumps [mocha](https://github.com/mochajs/mocha) from 10.8.2 to 12.0.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](mochajs/mocha@v10.8.2...v12.0.2)

---
updated-dependencies:
- dependency-name: mocha
  dependency-version: 12.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@github-actions
github-actions Bot force-pushed the dependabot/npm_and_yarn/example/mocha-12.0.2 branch from 4766ee2 to 4c62cf9 Compare October 1, 2026 11:43
@github-actions
github-actions Bot force-pushed the dependabot/npm_and_yarn/example/mocha-12.0.2 branch from 4f79723 to 2267daa Compare October 2, 2026 05:36
@chrispader chrispader changed the title chore(deps-dev): bump mocha from 10.8.2 to 12.0.2 in /example chore(deps-dev): upgrade Mocha to 12 in the example Oct 2, 2026
@chrispader
chrispader force-pushed the dependabot/npm_and_yarn/example/mocha-12.0.2 branch from 2267daa to 813a26d Compare October 2, 2026 05:42
@chrispader
chrispader changed the base branch from main to codex/ci-simplify-workflows October 2, 2026 05:43
@chrispader
chrispader added this pull request to stack #436 October 2, 2026 05:43
Base automatically changed from codex/ci-simplify-workflows to main October 2, 2026 11:52

This branch was successfully deployed

1 active deployment
Preview — 813a26dd Deployed Oct 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates in packages or tooling. ecosystem:npm JavaScript package dependency updates.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant