mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 04:55:42 +09:00
fix: channel ordering
This commit is contained in:
2 files changed
-2
No files matched your search
@@ -184,7 +184,6 @@ describe('ChannelMoveOperation', () => {
|
|||||||
position: 1,
|
position: 1,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('returns null when dropping to the same effective placement', () => {
|
it('returns null when dropping to the same effective placement', () => {
|
||||||
const category = createChannel({id: 'category', type: ChannelTypes.GUILD_CATEGORY, position: 0});
|
const category = createChannel({id: 'category', type: ChannelTypes.GUILD_CATEGORY, position: 0});
|
||||||
const textOne = createChannel({
|
const textOne = createChannel({
|
||||||
|
|||||||
@@ -440,7 +440,6 @@ describe('Guild Channel Positions', () => {
|
|||||||
expect(frontDoorIndex).toBeGreaterThan(milsimsIndex);
|
expect(frontDoorIndex).toBeGreaterThan(milsimsIndex);
|
||||||
expect(frontDoorIndex).toBeLessThan(coopGamesIndex);
|
expect(frontDoorIndex).toBeLessThan(coopGamesIndex);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should reject text channels being positioned below voice channels via preceding_sibling_id', async () => {
|
test('should reject text channels being positioned below voice channels via preceding_sibling_id', async () => {
|
||||||
const account = await createTestAccount(harness);
|
const account = await createTestAccount(harness);
|
||||||
const guild = await createGuild(harness, account.token, 'Test Guild');
|
const guild = await createGuild(harness, account.token, 'Test Guild');
|
||||||
|
|||||||
Reference in new issue
Block a user