chore(deps-dev): upgrade Mocha to 12 in the example - #418
Open
dependabot[bot] wants to merge 7 commits into
Open
dependabot[bot] wants to merge 7 commits into
dependabot[bot] wants to merge 7 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
github-actions
Bot
force-pushed
the
dependabot/npm_and_yarn/example/mocha-12.0.2
branch
from
September 29, 2026 23:07
7b56656 to
a3bd466
Compare
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/example/mocha-12.0.2
branch
from
October 1, 2026 10:33
a3bd466 to
4766ee2
Compare
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
Bot
force-pushed
the
dependabot/npm_and_yarn/example/mocha-12.0.2
branch
from
October 1, 2026 11:43
4766ee2 to
4c62cf9
Compare
github-actions
Bot
force-pushed
the
dependabot/npm_and_yarn/example/mocha-12.0.2
branch
from
October 2, 2026 05:36
4f79723 to
2267daa
Compare
chrispader
force-pushed
the
dependabot/npm_and_yarn/example/mocha-12.0.2
branch
from
October 2, 2026 05:42
2267daa to
813a26d
Compare
chrispader
added this pull request to stack #436
October 2, 2026 05:43
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.