8000 Reduce 'module not found' console logging by partridgeworks · Pull Request #200 · sbatson5/firestore-jest-mock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Reduce 'module not found' console logging #200

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

Merged
merged 1 commit into from
Apr 11, 2025

Conversation

partridgeworks
Copy link
Contributor

Many users will only have the ability to resolve module 'firebase' or 'firebase-admin' but not necessarily both.

Impacted users see repeated logging of 'Module not found, mocking skipped' messages which can cause concern, and also pollute the logs of larger test suites with many such lines.

This change only logs to console in the more severe case where neither module can be found.

Description

Related issues

How to test

Many users will only have the ability to resolve module 'firebase' or 'firebase-admin' but not necessarily both. 

Impacted users see repeated logging of 'Module not found, mocking skipped' messages which can cause concern, and also pollute the logs of larger test suites with many such lines.

This change only logs to console in the more severe case where neither module can be found.
@partridgeworks
Copy link
Contributor Author

@sbatson5 thanks for the approval, I have no write access so you will need to merge pls

@sbatson5 sbatson5 merged commit 578b775 into sbatson5:master Apr 11, 2025
4 checks passed
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
0