Skip to content

Commit

Permalink
test: update template code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Dec 5, 2023
1 parent ded5a56 commit aca0d31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/discord.js/test/resolveGuildTemplateCode.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

/* eslint-env jest */

const { DataResolver } = require('../src');
const { resolveGuildTemplateCode } = require('../src');

describe('resolveGuildTemplateCode', () => {
test('basic', () => {
expect(DataResolver.resolveGuildTemplateCode('https://discord.new/abc')).toEqual('abc');
expect(resolveGuildTemplateCode('https://discord.new/abc')).toEqual('abc');
});
});

0 comments on commit aca0d31

Please sign in to comment.