Skip to content

Commit 2c8e576

Browse files
committed
Fix postgres tests
1 parent 12cbda4 commit 2c8e576

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/module-postgres/test/src/pg_test.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
SqliteInputRow,
77
DateTimeValue,
88
TimeValue,
9-
CompatibilityLevel
9+
CompatibilityEdition
1010
} from '@powersync/service-sync-rules';
1111
import { describe, expect, test } from 'vitest';
1212
import { clearTestDb, connectPgPool, connectPgWire, TEST_URI } from './util.js';
@@ -460,7 +460,7 @@ INSERT INTO test_data(id, time, timestamp, timestamptz) VALUES (1, '17:42:01.12'
460460
timestamptz: '2023-03-06 13:47:00Z'
461461
});
462462

463-
const newFormat = applyRowContext(row, new CompatibilityContext(CompatibilityLevel.SYNC_STREAMS));
463+
const newFormat = applyRowContext(row, new CompatibilityContext(CompatibilityEdition.SYNC_STREAMS));
464464
expect(newFormat).toMatchObject({
465465
time: '17:42:01.120000',
466466
timestamp: '2023-03-06T15:47:12.400000',

0 commit comments

Comments
 (0)