Add support for Akkoma
This commit is contained in:
@@ -192,4 +192,12 @@ describe('normalizeInstance()', () => {
|
||||
const result = normalizeInstance(instance);
|
||||
expect(result.title).toBe('pixelfed');
|
||||
});
|
||||
|
||||
it('renames Akkoma to Pleroma', () => {
|
||||
const instance = require('soapbox/__fixtures__/akkoma-instance.json');
|
||||
const result = normalizeInstance(instance);
|
||||
|
||||
expect(result.version).toEqual('2.7.2 (compatible; Pleroma 2.4.5+akkoma)');
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user