You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use of factories defined in libp2p/tools/factories is limited to testing. Which is good - factory-boy is for generating test fixtures. But they should then be defined within the tests folder, not in a public-facing one.
Motivation
Testing tools should not be in a public folder.
Current Implementation
It's pretty nested in there, so some care will be needed in extrication.
Are you planning to do it yourself in a pull request ?
Maybe
The text was updated successfully, but these errors were encountered:
Description
The use of factories defined in
libp2p/tools/factories
is limited to testing. Which is good -factory-boy
is for generating test fixtures. But they should then be defined within thetests
folder, not in a public-facing one.Motivation
Testing tools should not be in a public folder.
Current Implementation
It's pretty nested in there, so some care will be needed in extrication.
Are you planning to do it yourself in a pull request ?
Maybe
The text was updated successfully, but these errors were encountered: