Skip to content

Commit

Permalink
don't cache integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
a-type committed Aug 5, 2024
1 parent 14b19b9 commit 5c5c82a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion test/tests/migration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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');

Expand Down
3 changes: 2 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c5c82a

Please sign in to comment.