diff --git a/.gitignore b/.gitignore index 68a69aa..55c339d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,6 @@ dist/** desktop.ini .continue/** .clasp.json -coverage/ \ No newline at end of file +coverage/ +test_output.txt +.agent/ diff --git a/MEMORY.md b/MEMORY.md index cd80ec0..7720c7a 100644 --- a/MEMORY.md +++ b/MEMORY.md @@ -46,3 +46,6 @@ This project (`product_inventory`) integrates Google Sheets with Shopify. It ser - **Client-Side Syntax**: - **ES5 ONLY**: Do not use `class` in client-side HTML files. The Apps Script sanitizer often fails to parse them. Use `function` constructors. +## Troubleshooting +- **Test Output**: When running tests, use `npm run test:log` to capture full output to `test_output.txt`. This avoids terminal truncation and allows agents to read the full results without manual redirection. + diff --git a/package.json b/package.json index 3b58622..7431d9a 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "build": "webpack --mode production", "deploy": "clasp push", "test": "jest", + "test:log": "jest > test_output.txt 2>&1", "prepare": "husky" }, "devDependencies": { diff --git a/test_output.txt b/test_output.txt deleted file mode 100644 index 3fcde5c..0000000 Binary files a/test_output.txt and /dev/null differ