Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

test(api): isolate crosspost tests that mock constants (#3091)

Hampusc2e7fde5bce8
diff --git a/fluxer_api/vitest.config.ts b/fluxer_api/vitest.config.ts
index a20a8da87..2e62d0476 100644
--- a/fluxer_api/vitest.config.ts
+++ b/fluxer_api/vitest.config.ts
@@ -23,9 +23,11 @@ const configuredMaxWorkers = parseParallelInteger(process.env.API_TEST_MAX_WORKE
const configuredMaxConcurrency = parseParallelInteger(process.env.API_TEST_MAX_CONCURRENCY, configuredMaxWorkers);
const MODULE_REGISTRY_TEST_FILES = [
+ 'src/api/channel/tests/MessageCrosspostFanout.test.ts',
'src/api/gif/GifRequestCountry.test.ts',
'src/api/stripe/tests/StripeCheckoutCountryEnforcement.test.ts',
'src/api/stripe/tests/StripeNordicCurrencies.test.ts',
+ 'src/api/worker/tests/CrosspostTasks.test.ts',
];
const INSTANCE_POLICY_TEST_FILES = [