Skip to content

fix(tests): correct import path for git_helper module in updatenotification tests#4078

Merged
rejas merged 1 commit intoMagicMirrorOrg:developfrom
KristjanESPERANTO:fix/import-path
Apr 1, 2026
Merged

fix(tests): correct import path for git_helper module in updatenotification tests#4078
rejas merged 1 commit intoMagicMirrorOrg:developfrom
KristjanESPERANTO:fix/import-path

Conversation

@KristjanESPERANTO
Copy link
Copy Markdown
Collaborator

This removes a warning which appeared running a test:

$ npx vitest --run tests/unit/functions/updatenotification_spec.js

 RUN  v4.1.2

7:46:46 PM [vite] (ssr) warning: invalid import "../../../${defaults.defaultModulesDir}/updatenotification/git_helper". A file extension must be included in the static part of the import. For example: import(`./foo/${bar}.js`).

Related to #4073

@rejas rejas merged commit d7c4ad1 into MagicMirrorOrg:develop Apr 1, 2026
9 checks passed
@KristjanESPERANTO KristjanESPERANTO deleted the fix/import-path branch April 1, 2026 18:20
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.

2 participants