[Tests] Replace filesystem mocks in file-watcher.test.ts#7952
[Tests] Replace filesystem mocks in file-watcher.test.ts#7952gonzaloriestra wants to merge 3 commits into
Conversation
Refactored `file-watcher.test.ts` to use real temporary directories and filesystem operations instead of mocking `@shopify/cli-kit/node/fs` and `@shopify/cli-kit/node/path`.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Refactored `file-watcher.test.ts` to use real temporary directories and filesystem operations instead of mocking `@shopify/cli-kit/node/fs` and `@shopify/cli-kit/node/path`. This version avoids dynamic imports that caused linting failures in CI.
Refactored `file-watcher.test.ts` to use real temporary directories and filesystem operations instead of mocking `@shopify/cli-kit/node/fs` and `@shopify/cli-kit/node/path`. Fixed CI linting issues by using static imports and applying prettier formatting.
Refactored
file-watcher.test.tsin@shopify/appto useinTemporaryDirectoryand real filesystem operations, removing manual mocks offsandpathmodules. This change adheres to the testing standards defined in.agents/automated-tasks/tests.mdand improves test isolation and reliability.PR created automatically by Jules for task 14593278842207485388 started by @gonzaloriestra