test: kill act env warnings (globalThis flag + _notify act wrapper)
- setupTests.js: set globalThis.IS_REACT_ACT_ENVIRONMENT = true (RTL reads getGlobalThis, not global). Kills 'environment not configured for act'. - _mock-db.js _notify: set flag true around subscriber cb, restore prev after. RTL waitFor flips flag false mid-poll -> act() warned. Now clean. - 146 act warnings -> 0.
This commit is contained in:
@@ -5,10 +5,14 @@ REWORK_PLAN.md.
|
||||
|
||||
## Feature backlog
|
||||
|
||||
### CRITICAL BUG - storage
|
||||
- docker for sql is not using persistant storage...
|
||||
TODO: FIX: test for warnings. any warnings in tests, or compile or runtime == failure. like perl and php used to ahve. warning == error. we should lways solve them
|
||||
|
||||
TODO: make tests have integrated timeout - even 60s is probabvly too long, should not take long.
|
||||
|
||||
TODO: combat.scenario doesnt do 100 rounds it does 100 turns. recover from kill-shared stash
|
||||
|
||||
|
||||
|
||||
### feat - campaign section rollup
|
||||
|
||||
### feat - add all characters to participants list
|
||||
|
||||
|
||||
Reference in New Issue
Block a user