Skip to content

Commit

Permalink
Bump @eslint/plugin-kit from 0.2.1 to 0.2.3 (#50)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kody <[email protected]>
  • Loading branch information
dependabot[bot] and mkody authored Nov 16, 2024
1 parent dcf22e4 commit 7ba6bca
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions test/SevenTV.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ describe('Test 7TV emotes', () => {

test('Get emote (EZ)', () => {
const emote = emoteFetcher.emotes.get('EZ');
expect(emote.toLink(2)).toBe('https://cdn.7tv.app/emote/01FGMVCKMG00021TQRJX35NAT7/3x.webp');
expect(emote.toLink(2)).toBe('https://cdn.7tv.app/emote/01GB9W6V0000098BZVD7GKTW0F/3x.webp');
});

test('Parse string with emote (EZ)', () => {
const text = emoteParser.parse('This is a test string with :EZ: in it.');
expect(text).toBe('This is a test string with ![EZ](https://cdn.7tv.app/emote/01FGMVCKMG00021TQRJX35NAT7/1x.webp "EZ") in it.');
expect(text).toBe('This is a test string with ![EZ](https://cdn.7tv.app/emote/01GB9W6V0000098BZVD7GKTW0F/1x.webp "EZ") in it.');
});
});

Expand All @@ -37,12 +37,12 @@ describe('Test 7TV emotes', () => {

test('Get emote (Clap)', () => {
const emote = emoteFetcher.emotes.get('Clap');
expect(emote.toLink(2)).toBe('https://cdn.7tv.app/emote/01GF9MNXQ8000E85YTZ0P4TWJ7/3x.avif');
expect(emote.toLink(2)).toBe('https://cdn.7tv.app/emote/01GAM8EFQ00004MXFXAJYKA859/3x.avif');
});

test('Parse string with emote (Clap)', () => {
const text = emoteParser.parse('This is a test string with :Clap: in it.');
expect(text).toBe('This is a test string with ![Clap](https://cdn.7tv.app/emote/01GF9MNXQ8000E85YTZ0P4TWJ7/1x.avif "Clap") in it.');
expect(text).toBe('This is a test string with ![Clap](https://cdn.7tv.app/emote/01GAM8EFQ00004MXFXAJYKA859/1x.avif "Clap") in it.');
});
});

Expand Down
4 changes: 2 additions & 2 deletions test/__snapshots__/ToFromObject.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ exports[`Test toObject 7TV Global Emote (AVIF) 1`] = `
"animated": false,
"channel_id": null,
"code": "EZ",
"id": "01FGMVCKMG00021TQRJX35NAT7",
"id": "01GB9W6V0000098BZVD7GKTW0F",
"imageType": "avif",
"ownerName": "PsycloneTM",
"ownerName": "Kh4N_02",
"sizes": [
"1x.avif",
"2x.avif",
Expand Down

0 comments on commit 7ba6bca

Please sign in to comment.