pokemon-showdown/test/simulator
Kirk Scheibelhut 4e421c1bd9 Refactor getEffect for speed safely (#5201)
Rollforward of 7a20245 which retains the `hasOwnProperty` checks.

Also changes the method to call `toId` earlier and use the id
as the key to the cache to ensure 'Stealth Rock' and 'stealthrock'
return the same. NOTE: 'move: Stealth Rock' and 'Stealth Rock' will
still continue to return different results.
2019-02-23 19:28:06 -06:00
..
abilities Fix random typos in tests (#5190) 2019-02-20 22:16:44 -06:00
items Refactor remaining tests to use Battle#makeChoices (#5183) 2019-02-20 00:34:31 -06:00
misc Refactor getEffect for speed safely (#5201) 2019-02-23 19:28:06 -06:00
moves Further improve switch tests 2019-02-23 07:01:07 -06:00