From e2c164c43c32ac028151c4d34b329251d5b79a7a Mon Sep 17 00:00:00 2001 From: sudacode Date: Sun, 1 Mar 2026 14:30:18 -0800 Subject: [PATCH] test: relax app-ready skip-startup call order assertion --- src/core/services/app-ready.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/services/app-ready.test.ts b/src/core/services/app-ready.test.ts index 2bbd48b..b66894c 100644 --- a/src/core/services/app-ready.test.ts +++ b/src/core/services/app-ready.test.ts @@ -111,8 +111,7 @@ test('runAppReadyRuntime skips heavy startup when shouldSkipHeavyStartup returns assert.equal(calls.includes('logConfigWarning'), false); assert.equal(calls.includes('handleInitialArgs'), true); assert.equal(calls.includes('loadYomitanExtension'), true); - assert.equal(calls[0], 'loadYomitanExtension'); - assert.equal(calls[calls.length - 1], 'handleInitialArgs'); + assert.ok(calls.indexOf('loadYomitanExtension') < calls.indexOf('handleInitialArgs')); }); test('runAppReadyRuntime skips Jellyfin remote startup when dependency is not wired', async () => {