Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

Update testing framework and dependencies#318

Closed
alimd wants to merge 29 commits into
nextfrom
feat/migrate-jest2bun
Closed

Update testing framework and dependencies#318
alimd wants to merge 29 commits into
nextfrom
feat/migrate-jest2bun

Conversation

@alimd

@alimd alimd commented Mar 17, 2026

Copy link
Copy Markdown
Member

Description

Migrate the testing framework from Jest to Bun, updating relevant imports and configurations. Update various dependencies to their latest versions and streamline the test command in the build workflow. Additionally, enhance test coverage with new unit tests for the PersistentStateSignal functionality. Clean up unused configurations and files to improve project maintainability.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on modernizing the testing framework and dependencies to enhance project maintainability and reliability. By migrating to Bun and updating dependencies, the project benefits from improved performance and access to the latest features. The addition of unit tests for PersistentStateSignal ensures robust functionality and reduces the risk of regressions.

Highlights

  • Testing Framework Migration: The testing framework was migrated from Jest to Bun, which involves updating relevant imports and configurations.
  • Dependency Updates: Various dependencies were updated to their latest versions to ensure compatibility and access to the newest features and security patches.
  • Test Coverage Enhancement: Test coverage was improved by adding new unit tests specifically for the PersistentStateSignal functionality.
  • Project Maintainability: Unused configurations and files were removed to streamline the project structure and improve overall maintainability.
Changelog
  • Dependencies
    • Updated various dependencies to their latest versions, ensuring compatibility and access to new features and security patches.
  • Project Maintainability
    • Removed unused configurations and files to streamline the project structure and improve maintainability.
  • Test Coverage
    • Enhanced test coverage with new unit tests for the PersistentStateSignal functionality, improving reliability and reducing regression risks.
  • Testing Framework
    • Migrated from Jest to Bun for improved performance and modern features.
    • Updated test scripts and configurations to align with Bun's testing environment.
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/build-lint.yaml
Activity
  • Testing framework migrated from Jest to Bun.
  • Dependencies updated to the latest versions.
  • Test coverage enhanced with new unit tests for PersistentStateSignal.
  • Unused configurations and files removed for improved maintainability.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.


From Jest to Bun, a swift migration, New tests arise, an affirmation. Signals persist, Bugs now resist, A modern build, a clean creation.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

The pull request primarily migrates the project's testing framework from Jest to Bun's native test runner, involving the removal of Jest-related dependencies and configuration files, updating package.json scripts to use bun test, and adjusting test file imports from @jest/globals to bun:test. Additionally, it updates various @alwatr/* and @lerna-lite/* dependencies across the monorepo, removes a Copilot instruction file, and adds a JavaScript formatter setting to VS Code. A critical issue was identified where the lint:es script was disabled and ESLint dependencies removed, which needs to be addressed to maintain code quality. Another issue noted is the presence of it.only in a test file, which should be reverted to it to ensure all tests run.

Comment thread packages/signal/src/operators/debounce.test.js Outdated
Comment thread package.json
@alimd alimd closed this Apr 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant