diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 461f8fdb..c9954ed7 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -22,10 +22,10 @@ npm run build && npm run esbuild # Build all TypeScript and bundle **Testing**: - Unit tests: `npm run test-unit` (Mocha) - Unit tests filtering to file: `npm run test-unit -- **/fileName.ts -- Per-addon unit tests: `npm run test-unit addons/addon-image/out-esbuild/*.test.js` +- Per-addon unit tests: `npm run test-unit -- addons/addon-image/out-esbuild/*.test.js` - Integration tests: `npm run test-integration` (Playwright across Chrome/Firefox/WebKit) - Integration tests by file: `npm run test-integration -- test/playwright/InputHandler.test.ts`. Never use grep to filter tests, it doesn't work -- Integration tests by addon: `npm run test-integration --suite=addon-search`. Suites always follow the format `addon-` +- Integration tests by addon: `npm run test-integration -- --suite=addon-search`. Suites always follow the format `addon-` - Lint changes: `npm run lint-changes` to lint only changed files, `npm run lint-changes-fix` to fix them ## Addon Development Pattern