adobe / adobe/aio-cli-plugin-app-dev
use mock-fs to isolate fs access
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
https://www.npmjs.com/package/mock-fs
We just mock the fs before the action function is run, and re-set after. Not sure if there will be concurrency issues
Contributor guide
Research direction
The issue names the action function but no files or tests, so first locate that entry point and review how filesystem access is exercised. Read the mock-fs documentation, then determine whether mocking before the action and resetting afterward is safe with concurrent operations; done means isolated filesystem access without concurrency regressions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, testing
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100