mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
chore: upgrade deps (#10824)
This commit is contained in:
@@ -37,9 +37,7 @@ const AudioPlayer = _AudioPlayer as unknown as vitest.Mocked<typeof _AudioPlayer
|
||||
const PlayerSubscription = _PlayerSubscription as unknown as vitest.Mock<_PlayerSubscription>;
|
||||
|
||||
const _NetworkingClass = Networking.Networking;
|
||||
vitest.spyOn(Networking, 'Networking').mockImplementation((...args) => {
|
||||
return new _NetworkingClass(...args);
|
||||
});
|
||||
vitest.spyOn(Networking, 'Networking').mockImplementation((...args) => new _NetworkingClass(...args));
|
||||
|
||||
function createFakeAdapter() {
|
||||
const sendPayload = vitest.fn();
|
||||
|
||||
Reference in New Issue
Block a user