From a9d2115d8b66c17dd95f1b99a9ecb8075c711ce8 Mon Sep 17 00:00:00 2001 From: Alfonso Noriega Date: Tue, 23 Jun 2026 16:11:20 +0200 Subject: [PATCH] Clarify filesystem testing guidance Assisted-By: devx/35aa2b43-cb40-4048-859c-af48d6d3ca28 --- docs/cli/testing-strategy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cli/testing-strategy.md b/docs/cli/testing-strategy.md index 6244f7a2a9a..c28615ece69 100644 --- a/docs/cli/testing-strategy.md +++ b/docs/cli/testing-strategy.md @@ -37,7 +37,7 @@ pnpm test path/to/my.test.ts ``` ### Filesystem I/O and temporary directories -If the subject under testing does a filesystem I/O operation, we recommend not stubbing that behavior instead of hitting the filesystem. Create a temporary directory whose lifecycle is tied to the lifecycle of the test: +If the subject under test performs filesystem I/O, prefer using a temporary directory instead of stubbing the filesystem. Create a temporary directory whose lifecycle is tied to the lifecycle of the test: ```ts import {file, path} from "@shopify/cli-kit"