File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ npm run build && npm run esbuild # Build all TypeScript and bundle
2222** Testing** :
2323- Unit tests: ` npm run test-unit ` (Mocha)
2424- Unit tests filtering to file: `npm run test-unit -- ** /fileName.ts
25- - Per-addon unit tests: ` npm run test-unit addons/addon-image/out-esbuild/*.test.js `
25+ - Per-addon unit tests: ` npm run test-unit -- addons/addon-image/out-esbuild/*.test.js `
2626- Integration tests: ` npm run test-integration ` (Playwright across Chrome/Firefox/WebKit)
2727- Integration tests by file: ` npm run test-integration -- test/playwright/InputHandler.test.ts ` . Never use grep to filter tests, it doesn't work
28- - Integration tests by addon: ` npm run test-integration --suite=addon-search ` . Suites always follow the format ` addon-<something> `
28+ - Integration tests by addon: ` npm run test-integration -- -- suite=addon-search ` . Suites always follow the format ` addon-<something> `
2929- Lint changes: ` npm run lint-changes ` to lint only changed files, ` npm run lint-changes-fix ` to fix them
3030
3131## Addon Development Pattern
You can’t perform that action at this time.
0 commit comments