4.1.2 changelog
Published
Entries marked Breaking change a working bot; the migration guide says what to do about them. Every release of the line is in the changelog.
Patch Changes
#454
1f71fe1Thanks @l7aromeo! - A mock interaction's type guards, such asisButton()andisRepliable(), and itsinGuild(),inCachedGuild()andinRawGuild()keep answering as discord.js does afterresetAllMocks(). They returnedundefinedafter a reset, so a mock made once for several tests, such as inbeforeAll, failed every type check after the first test in a project that resets between tests, as a generated one does.