Skip to content

Commit

Permalink
test: fix voice tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iCrawl committed Jan 8, 2022
1 parent 1d532d9 commit b593bd3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/voice/__tests__/VoiceConnection.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ import { PlayerSubscription as _PlayerSubscription } from '../src/audio/PlayerSu
import type { DiscordGatewayAdapterLibraryMethods } from '../src/util/adapter';
import EventEmitter from 'node:events';

jest.mock('../audio/AudioPlayer');
jest.mock('../audio/PlayerSubscription');
jest.mock('../DataStore');
jest.mock('../networking/Networking');
jest.mock('../src/audio/AudioPlayer');
jest.mock('../src/audio/PlayerSubscription');
jest.mock('../src/DataStore');
jest.mock('../src/networking/Networking');

const DataStore = _DataStore as unknown as jest.Mocked<typeof _DataStore>;
const Networking = _Networking as unknown as jest.Mocked<typeof _Networking>;
Expand Down

0 comments on commit b593bd3

Please sign in to comment.