adobe / adobe/aio-cli-plugin-app-dev

use mock-fs to isolate fs access

Open
#33 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.