mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
test(voice): fix tests
This commit is contained in:
8
packages/voice/__tests__/Secretbox.test.ts
Normal file
8
packages/voice/__tests__/Secretbox.test.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { methods } from '../src/util/Secretbox';
|
||||
|
||||
jest.mock('tweetnacl');
|
||||
|
||||
test('Does not throw error with a package installed', () => {
|
||||
// @ts-expect-error
|
||||
expect(() => methods.open()).not.toThrowError();
|
||||
});
|
||||
Reference in New Issue
Block a user