mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 10:04:41 +12:00
11 lines
252 B
JavaScript
11 lines
252 B
JavaScript
'use strict';
|
|
|
|
/* eslint-env jest */
|
|
|
|
const { DataResolver } = require('../src');
|
|
|
|
describe('resolveGuildTemplateCode', () => {
|
|
test('basic', () => {
|
|
expect(DataResolver.resolveGuildTemplateCode('https://discord.new/abc')).toBe('abc');
|
|
});
|
|
});
|