Skip to content

test: add tests for plugins written in ESM#1266

Merged
jescalada merged 6 commits intofinos:mainfrom
jescalada:esm-plugin-tests
Nov 5, 2025
Merged

test: add tests for plugins written in ESM#1266
jescalada merged 6 commits intofinos:mainfrom
jescalada:esm-plugin-tests

Conversation

@jescalada
Copy link
Contributor

Follow-up PR for #1262.

@netlify
Copy link

netlify bot commented Oct 31, 2025

Deploy Preview for endearing-brigadeiros-63f9d0 canceled.

Name Link
🔨 Latest commit eeb05f2
🔍 Latest deploy log https://app.netlify.com/projects/endearing-brigadeiros-63f9d0/deploys/690b3d67653b2500084cb649

@jescalada jescalada requested review from a team and coopernetes October 31, 2025 13:57
@codecov
Copy link

codecov bot commented Oct 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.36%. Comparing base (97b6127) to head (eeb05f2).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1266   +/-   ##
=======================================
  Coverage   83.36%   83.36%           
=======================================
  Files          70       70           
  Lines        3005     3005           
  Branches      499      499           
=======================================
  Hits         2505     2505           
  Misses        397      397           
  Partials      103      103           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@coopernetes coopernetes left a comment

Choose a reason for hiding this comment

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

LGTM. One suggested test case for ensuring the module loaded is using the correct objects and ignoring "invalid" ones (that may be unrelated to plugins such as exported functions for unit testing, etc).

Co-authored-by: Thomas Cooper <57812123+coopernetes@users.noreply.github.com>
Signed-off-by: Juan Escalada <97265671+jescalada@users.noreply.github.com>
@jescalada jescalada self-assigned this Nov 4, 2025
@jescalada jescalada merged commit 93704e6 into finos:main Nov 5, 2025
14 checks passed
@jescalada jescalada linked an issue Nov 5, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve plugin loading functionality

2 participants

Comments