UNPKG

vibesync

Version:

VibeSync is a simple library for managing custom statuses in Discord Voice Channels. Easily set and update your channel statuses to keep your server engaging and organized.

20 lines (16 loc) 444 B
const { VCStatus } = require('../index'); const { Client } = require('discord.js'); const axios = require('axios'); jest.mock('axios'); jest.mock('discord.js', () => { return { Client: jest.fn().mockImplementation(() => ({ token: 'fake-token', })), }; }); test('VCStatus class exists', () => { const client = new Client(); const vcStatus = new VCStatus(client); expect(vcStatus).toBeDefined(); });