Skip to content

Conversation

@JegernOUTT
Copy link
Member

No description provided.

Copy link
Member

@alashchev17 alashchev17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Will push a small fix and it's good to be merged 👍

The package-lock.json is missing platform-specific optional dependencies
(like fsevents, @parcel/watcher-*, @esbuild/* packages) because it was
generated on Linux. npm ci is strict and fails when these are missing.

Using npm install --prefer-offline instead allows the build to proceed
while still respecting the lock file for version resolution.
localStorage is not available in Node.js test environment.
Added checks to prevent accessing localStorage when it's undefined,
which fixes the 'localStorage.getItem is not a function' test errors.
Mock localStorage in test setup to fix 'localStorage.getItem is not a function' errors.
The happy-dom environment doesn't provide a fully functional localStorage by default.
Add typeof check for localStorage.getItem to handle cases where localStorage
exists but doesn't have the getItem method (can happen during test setup timing).
Add missing Storage interface properties (key, length) to make the mock
fully compatible with the Storage type.
@JegernOUTT JegernOUTT merged commit 7a1221f into main-stable Dec 3, 2025
2 checks passed
@JegernOUTT JegernOUTT deleted the sergei-fixes-cvox branch December 3, 2025 13:54
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