martin-markovic / learn-connect

Multi-feature platform designed to enhance the online learning experience.
MIT License
0 stars 0 forks source link

Fix Import Extensions and Set Module Type to Prevent Test False Positives #20

Closed martin-markovic closed 1 month ago

martin-markovic commented 1 month ago

Summary

This pull request addresses issues with incorrect file extensions in component imports and sets the module type in the frontend package.json to prevent false positives in tests.

Changes

  1. Import Extension Fixes

    • Added .jsx extension name to component imports in App.js.
    • Added .js extension name to component imports in index.js.
  2. Package Configuration

    • Set type to module in frontend package.json.

Testing