Skip to content

Commit 7caf01f

Browse files
authored
chore(ai): Update agents md instructions (#366)
1 parent 9327f89 commit 7caf01f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

AGENTS.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77

88
## Code conventions
99

10-
- Always run `npx prettier` before committing
10+
- Always run `npm run format-fix` after making changes to the code
1111

1212
## Testing
1313

1414
- Unit tests use Mocha/Chai framework with `.unit.test.ts` extension
1515
- Test files should be placed alongside the source files they test
16+
- Tests run against compiled JavaScript files in `out/` directory — build first with `npm run compile-tsc`
1617
- Run all tests: `npm test` or `npm run test:unittests`
18+
- Run tests matching a pattern: `npm run test:unittests -- --grep "SuiteName"` (forwards `--grep` to mocha, matches suite and test names)
1719
- Run single test file: `npx mocha --config ./build/.mocha.unittests.js.json ./out/path/to/file.unit.test.js`
18-
- Tests run against compiled JavaScript files in `out/` directory
1920
- Use `assert.deepStrictEqual()` for object comparisons instead of checking individual properties
2021

2122
## Project Structure

0 commit comments

Comments
 (0)