Skip to content

Conversation

@chiranjeev13
Copy link
Member

@chiranjeev13 chiranjeev13 commented Nov 14, 2025

Closes Inco-fhevm/inco-monorepo#1204

- Added new dependencies for React testing, including @testing-library/react and @testing-library/jest-dom.
- Updated existing dependencies to their latest versions, including React and Vitest.
- Introduced a new Vitest configuration file for testing with React.
- Added a sample React component and corresponding tests to ensure functionality.
- Removed unused lib.ts file to clean up the codebase.
- Added IncoTest component for encrypting values using Inco Lite.
- Implemented encryption logic in a new lib/inco.ts file.
- Created tests for IncoTest component to ensure proper rendering and functionality.
- Updated existing dependencies to their latest versions, including webpack and vitest.
- Renamed test scripts for clarity and added a new build validation test for the React example.
- Removed outdated vitest configuration file and replaced it with a new setup for the React example.
- Created a new React example project structure with necessary files and configurations.
- Modified the test script in package.json to run the frontend build process alongside existing tests, ensuring comprehensive testing coverage.
- Changed dependency versions for @inco/lightning and @inco/js to use workspace references in multiple package.json files, ensuring consistency across the project.
- Updated IncoTest component to include decryption functionality and handle result submission.
- Added new ABI definitions for the AddTwo contract and integrated them into the IncoTest component.
- Created a new test suite for IncoTest, ensuring proper rendering and functionality with end-to-end tests.
- Refactored test setup to include necessary configurations and dependencies for testing with Vitest and React.
- Introduced helper functions for account funding and contract deployment to streamline testing processes.
- Moved the react-example testing setup into the backend/src/test directory.
- Updated package.json to use workspace references for @inco/js.
- Removed outdated bun.lock file from the react-example directory.
- Cleaned up console log statements in Inco component files to reduce noise during execution.
- Updated bun.lock file in the main directory to reflect new dependencies and configurations.
….json

- Updated bun.lock and backend/package.json to downgrade React and React-DOM from version 19.1.0 to 18.3.1, ensuring compatibility with existing codebase.
- Adjusted related dependencies for scheduler and loose-envify to align with the new React version.
…n.lock and package.json

- Updated React, React-DOM, and React-Scripts to use the latest versions for improved compatibility and features.
- Adjusted dependencies in bun.lock and package.json to reflect the latest versions of related packages, ensuring consistency across the project.
@chiranjeev13 chiranjeev13 changed the title Cm/frontend e2e Feat: Added frontend build and function tests for SDK Nov 16, 2025
@chiranjeev13
Copy link
Member Author

Need to publish a new JS package with the recent patch to turn ci green and merge this PR

- Updated bun.lock and package.json to include new dependencies for Babel and Webpack, enhancing the build process.
- Replaced react-scripts with Webpack for building and serving the react-example project.
- Adjusted test scripts to ensure compatibility with the new setup.
- Refactored test files to utilize handleTypes from @inco/js for better type handling in encryption processes.
- Updated the Docker image tags in .env and docker-compose.yaml to use the new devnet version.
- Bumped @inco/js and @inco/lightning versions to 0.7.5 in bun.lock and package.json.
- Modified test configurations to connect to the devnet instead of alphanet.
- Adjusted Solidity imports to reference the new Lib.devnet.sol for compatibility with the updated Lightning library.
- Changed the pepper value from "alphanet" to "devnet" in index.tsx.
- Updated the localNode connection in Inco.spec.tsx to use "devnet" instead of "alphanet".
- Changed the localNode connection in inco.ts from "alphanet" to "devnet" to align with recent configuration updates.
@kourtellosg kourtellosg merged commit 387f199 into main Dec 15, 2025
1 check passed
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.

3 participants