-
Notifications
You must be signed in to change notification settings - Fork 83
Add basic Electron tests and pump its version for demos #1379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request adds Electron version display to demo applications and updates Electron from version 31.x to 40.0.0. It also fixes timer parameter types in the turtle_tf2 demo by converting numeric literals to BigInt.
Changes:
- Updated the test command to include Electron tests via
test/electron/run_test.js - Bumped Electron version from ^31.x to ^40.0.0 across all demo package.json files
- Added Electron version display overlays to all demo renderer files
- Fixed timer periods in turtle_tf2/main.js to use BigInt literals (100n, 1000n)
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Added Electron installation and test execution to the main test script |
| electron_demo/turtle_tf2/renderer.js | Added process import and Electron version display overlay |
| electron_demo/turtle_tf2/package.json | Bumped Electron version from ^31.7.7 to ^40.0.0 |
| electron_demo/turtle_tf2/main.js | Fixed timer periods to use BigInt literals (100n, 1000n) as required by createTimer API |
| electron_demo/topics/renderer.js | Added Electron version display (missing process import) |
| electron_demo/topics/package.json | Bumped Electron version from ^31.0.0 to ^40.0.0 |
| electron_demo/manipulator/renderer.js | Added process import and dual version displays (floating overlay + HTML elements) |
| electron_demo/manipulator/package.json | Bumped Electron version from ^31.7.7 to ^40.0.0 |
| electron_demo/manipulator/index.html | Added HTML elements for displaying Node.js, Chromium, and Electron versions |
| electron_demo/car/renderer.js | Added Electron version display (missing process import) |
| electron_demo/car/package.json | Bumped Electron version from ^31.0.0 to ^40.0.0 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This pull request adds Electron version display to demo applications and updates Electron from version 31.x to 40.0.0. It also fixes timer parameter types in the turtle_tf2 demo by converting numeric literals to BigInt.
Changes:
test/electron/run_test.jsFix: #1378