pokemon-showdown/test/sim
Guangcong Luo e0f97dcf6b Replace Chat.uncache* with Utils.clearRequireCache
This replaces the old approach with a new "clear everything except a
whitelist" approach, which should overall involve much less code and
lead to fewer bugs of the "the path changed for a module and I forgot
to update the uncache paths" variety.

I considered a lot of other approaches, but they seem to have more
flaws without any advantages in exchange for them. (We moved away
from `uncacheTree` because it only tracks the first require: there's
no way to get a full list of dependents for a module, only its first
dependent.)
2020-06-12 22:02:32 -07:00
..
abilities Disguise breaking prevents critical hits (#6766) 2020-05-29 18:57:39 -07:00
items Add various mechanics tests (#6714) 2020-05-18 12:19:18 -07:00
misc Only check for EBC after 100 turns have passed 2020-05-30 20:46:17 -07:00
moves Fix bugs caused by not specifying effectiveness priority (#6765) 2020-05-29 16:55:42 -07:00
tools Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00
choice-parser.js Update tests for new targeting syntax 2020-03-24 02:56:39 -07:00
data.js Fix remaining learnsets inconsistencies (#6795) 2020-06-02 21:31:48 -07:00
decisions.js Add a library for utility functions (#6817) 2020-06-09 22:06:43 -07:00
dex.js Replace Chat.uncache* with Utils.clearRequireCache 2020-06-12 22:02:32 -07:00
events.js Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00
team-validator.js Fix Kyurem learnset validation 2020-05-28 00:41:31 +04:00