ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix flaky test
Chocobozzz070c72f22394
diff --git a/packages/tests/src/api/server/config.ts b/packages/tests/src/api/server/config.tsindex 213d299389..49b9300919 100644--- a/packages/tests/src/api/server/config.ts+++ b/packages/tests/src/api/server/config.ts@@ -1,5 +1,6 @@/* oxlint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */+import { wait } from '@peertube/peertube-core-utils'import { ActorImageType, CustomConfig, HttpStatusCode, LogoType, VideoCommentPolicy, VideoPrivacy } from '@peertube/peertube-models'import {PeerTubeServer,@@ -979,6 +980,8 @@ describe('Test config', function () {it('Should remove the SVG favicon', async function () {await server.config.deleteInstanceLogo({ type: 'favicon' })+ // Wait a bit for the file to be deleted+ await wait(500)await testFileExistsOnFSOrNot(server, 'uploads/images', basename(svgUrl), false)})