A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
fix: various fixes to sentry-reported errors
Hampus Kraft0e7f370a1e49
diff --git a/fluxer_app/src/components/layout/utils/ChannelMoveOperation.test.tsx b/fluxer_app/src/components/layout/utils/ChannelMoveOperation.test.tsxindex 52191defc..0e879edaf 100644--- a/fluxer_app/src/components/layout/utils/ChannelMoveOperation.test.tsx+++ b/fluxer_app/src/components/layout/utils/ChannelMoveOperation.test.tsx@@ -184,6 +184,7 @@ describe('ChannelMoveOperation', () => {position: 1,});});+it('returns null when dropping to the same effective placement', () => {const category = createChannel({id: 'category', type: ChannelTypes.GUILD_CATEGORY, position: 0});const textOne = createChannel({diff --git a/packages/api/src/guild/tests/GuildChannelPositions.test.tsx b/packages/api/src/guild/tests/GuildChannelPositions.test.tsxindex 6ef13b98f..9dd475c29 100644--- a/packages/api/src/guild/tests/GuildChannelPositions.test.tsx+++ b/packages/api/src/guild/tests/GuildChannelPositions.test.tsx@@ -440,6 +440,7 @@ describe('Guild Channel Positions', () => {expect(frontDoorIndex).toBeGreaterThan(milsimsIndex);expect(frontDoorIndex).toBeLessThan(coopGamesIndex);});+test('should reject text channels being positioned below voice channels via preceding_sibling_id', async () => {const account = await createTestAccount(harness);const guild = await createGuild(harness, account.token, 'Test Guild');