mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-08-03 13:56:07 +00:00
* Selfhosting Twemoji * ちっ * うざっ * あ * add test Co-authored-by: mei23 <m@m544.net>
This commit is contained in:
@@ -91,6 +91,18 @@ describe('Fetch resource', () => {
|
||||
assert.strictEqual(res.status, 200);
|
||||
assert.strictEqual(res.type, 'image/png');
|
||||
}));
|
||||
|
||||
it('GET twemoji svg', async(async () => {
|
||||
const res = await simpleGet('/twemoji/2764.svg');
|
||||
assert.strictEqual(res.status, 200);
|
||||
assert.strictEqual(res.type, 'image/svg+xml');
|
||||
}));
|
||||
|
||||
it('GET twemoji svg with hyphen', async(async () => {
|
||||
const res = await simpleGet('/twemoji/2764-fe0f-200d-1f525.svg');
|
||||
assert.strictEqual(res.status, 200);
|
||||
assert.strictEqual(res.type, 'image/svg+xml');
|
||||
}));
|
||||
});
|
||||
|
||||
describe('/@:username', () => {
|
||||
|
||||
Reference in New Issue
Block a user