pokerogue/test/test-utils/helpers
Bertie690 9815c5eebf
[Test] Revamped MockConsoleLog with color support (#6218)
* Added mock console and fixed up many many things

* Cleaned up handling of colors and such

* Added minor comment

* Fix Focus Punch test

* Fix typo

* Remove redundant comment

* Update vitest.setup.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Added color map inside new folder

* Made constants not object bc i was told to

* Update src/constants/colors.ts

* Removed all moves init check

* Removed import

* Fixed up some stuff + added aquamarine color to settings helper

* Added logging for test end

* Removed intentionally failing test

* Fixed console log to use inheritance to not override vitest's wrapping

* Added a custom Vitest reporter to not log the test name every 2 lines

* Moved coloration to a hook to prevent misplacing things

* Fixed import issue by copypasting vitest soure

* Removed intentionally failing test

look i need to check that `test:silent` works on github ok

* Added REUSE annotations to copied parts of source

* Fixed import issue

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-09-07 09:18:47 -05:00
..
challenge-mode-helper.ts [Test] Removed deprecated functions from phase interceptor (#6195) 2025-08-19 19:54:40 -05:00
classic-mode-helper.ts [Bug/Ability] Fixed bugs with Intimidate triggers after reload/initial switch (#6212) 2025-08-24 14:09:16 -05:00
daily-mode-helper.ts [Dev] Rename OPP_ overrides to ENEMY_ (#6255) 2025-08-14 18:06:24 +00:00
field-helper.ts [Move] Trick Room now reverses itself when added twice in a row (#6314) 2025-08-20 20:22:52 -05:00
game-manager-helper.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
modifiers-helper.ts [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
move-helper.ts [Dev] Rename OPP_ overrides to ENEMY_ (#6255) 2025-08-14 18:06:24 +00:00
overrides-helper.ts [Test] Revamped MockConsoleLog with color support (#6218) 2025-09-07 09:18:47 -05:00
reload-helper.ts [Test] Removed deprecated functions from phase interceptor (#6195) 2025-08-19 19:54:40 -05:00
settings-helper.ts [Test] Revamped MockConsoleLog with color support (#6218) 2025-09-07 09:18:47 -05:00