diff --git a/test/tests/migration.test.ts b/test/tests/migration.test.ts index edd7fdd8..112e08ca 100644 --- a/test/tests/migration.test.ts +++ b/test/tests/migration.test.ts @@ -10,7 +10,11 @@ import { ReplicaType } from '@verdant-web/server'; // @ts-ignore import { IDBFactory } from 'fake-indexeddb'; import { startTestServer } from '../lib/testServer.js'; -import { waitForEntityCondition, waitForQueryResult } from '../lib/waits.js'; +import { + waitForEntityCondition, + waitForOnline, + waitForQueryResult, +} from '../lib/waits.js'; async function createTestClient({ schema, @@ -661,6 +665,7 @@ it('migrates in an online world where old operations still come in', async () => // logId: 'A', }); clientA.sync.start(); + await waitForOnline(clientA); log('📈 Version 1 client A created'); diff --git a/turbo.json b/turbo.json index 9bb7168f..708d62fb 100644 --- a/turbo.json +++ b/turbo.json @@ -11,7 +11,8 @@ }, "ci:test:integration": { "outputs": [], - "inputs": ["**/*.tsx", "**/*.ts", "**/*.test.tsx", "**/*.test.ts"] + "inputs": ["**/*.tsx", "**/*.ts", "**/*.test.tsx", "**/*.test.ts"], + "cache": false }, "dev": { "cache": false