Skip to content
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

Remove use of mockery #1029

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Conversation

bertdeblock
Copy link
Member

@bertdeblock bertdeblock commented Dec 17, 2024

The mockery project is old, and archived.
I also had some issues with it when converting the test suite to ES modules, so seemed easiest to just get rid of it, and use a more "vanilla" approach.

@bertdeblock bertdeblock self-assigned this Dec 17, 2024
Copy link

codecov bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.50%. Comparing base (e07ff04) to head (d162b0e).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1029      +/-   ##
==========================================
+ Coverage   95.44%   95.50%   +0.06%     
==========================================
  Files          21       21              
  Lines         505      512       +7     
==========================================
+ Hits          482      489       +7     
  Misses         23       23              

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


module.exports = run;

module.exports._originalRunFunction = originalRunFunction;
Copy link
Member Author

@bertdeblock bertdeblock Dec 17, 2024

Choose a reason for hiding this comment

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

Not ideal though, to have these "private" exports, but since importing from ember-try is not really supported, this seemed okay for now.

@bertdeblock bertdeblock merged commit 98ec8fe into ember-cli:main Dec 17, 2024
34 checks passed
@github-actions github-actions bot mentioned this pull request Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants