jaredhanson / jaredhanson/electrolyte
Feature: Override existing Modules
- Dominant language
- JavaScript
- Stars
- 555
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Description
Hello everyone,
at the moment i am looking for a nice way to mock my modules and at this point i noticed that it would be nice if i could override single modules in my Container with custom test functions.
That step would not be that far away since the Conatiner has a _specs property with the required path as key and the the cached Module as value.
Thoughts?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Container implementation, especially its _specs property, which the issue identifies as storing module paths and cached modules. Clarify the override API and expected behavior with maintainers before locating relevant tests; the work is done when the agreed module-mocking behavior is implemented and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100