tractatus/tests
TheFlow 18586a2622 fix: Add async/await to pressure monitoring and framework tests
- Make analyzeSession() async in check-session-pressure.js
- Add await before monitor.analyzePressure() call
- Wrap main execution in async IIFE with error handling
- Update all ContextPressureMonitor tests to use async/await
- Fix MetacognitiveVerifier edge case assertion (toBeLessThanOrEqual)

Fixes TypeError: Cannot read properties of undefined (reading 'tokenUsage')
that was blocking session initialization.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-09 13:45:33 +13:00
..
helpers feat(tests): create database test helper and diagnose integration test issues 2025-10-21 15:39:27 +13:00
integration fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
poc/memory-tool fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
unit fix: Add async/await to pressure monitoring and framework tests 2025-12-09 13:45:33 +13:00
setup.js fix: add Jest test infrastructure and reduce test failures from 29 to 13 2025-10-09 20:37:45 +13:00