Skip to content

[jest-plugin-fs] [docs] Poor usage docs - please post a better example #84

@kristianmandrup

Description

@kristianmandrup

It is unclear how to use this plugin from the example code which does not use fs directly at any point, but only references an undeclared FileWriter, which I assume uses the mocked fs behind the scenes. Please improve the usage docs. For now I'll have to deep dive into the code and tests...

Also, I see you are using some of your other plugins such as set without mention.
"Too much magic" to be easy to understand for an "outsider"

fs.spec.js

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions