pokerogue/src/test/utils
Greenlamp2 e29c08ba1f
[Test] Add Tests for Zen Mode Ability (#1978)
* added tests for zen mode - change form in battle

* added tests to run some battle against trainer/rival & boss

* added a test with a method to kill a pokemon

* added an override in the clock mocked to reduce the time of fainting pokemon and thus reducing test time from 5s to less than 1s

* added some more tests + doAttack, doKillOpponents, toNextWave, toNextTurn helper

* added some more tests + doAttack, doKillOpponents, toNextWave, toNextTurn helper + fix some tests
2024-06-10 10:10:23 -04:00
..
mocks [Test] Add Tests for Zen Mode Ability (#1978) 2024-06-10 10:10:23 -04:00
saves [Testing] Flexible Testing Wrapper for Phaser-Based Battle-Scenes (#1908) 2024-06-07 18:33:45 -04:00
errorInterceptor.ts [Improvement] Refactored Test Phase Management with Error Handling (#1962) 2024-06-08 20:54:20 +01:00
fakeMobile.html [Testing] Flexible Testing Wrapper for Phaser-Based Battle-Scenes (#1908) 2024-06-07 18:33:45 -04:00
gameManager.ts [Test] Add Tests for Zen Mode Ability (#1978) 2024-06-10 10:10:23 -04:00
gameManagerUtils.ts Add Challenges (#1459) 2024-06-08 01:07:23 -04:00
gameWrapper.ts [Test] Add Tests for Zen Mode Ability (#1978) 2024-06-10 10:10:23 -04:00
inputsHandler.ts [QoL] Improve Input Accuracy by Refactoring Button Handling (#1936) 2024-06-09 19:15:37 -04:00
misc.test.ts [Testing] Flexible Testing Wrapper for Phaser-Based Battle-Scenes (#1908) 2024-06-07 18:33:45 -04:00
phaseInterceptor.ts [Test] Add Tests for Zen Mode Ability (#1978) 2024-06-10 10:10:23 -04:00
TextInterceptor.ts [Test] Add Tests for Zen Mode Ability (#1978) 2024-06-10 10:10:23 -04:00