@powersync/service-module-postgres-storage 0.0.0-dev-20260909133214 → 0.0.0-dev-20261005112123

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,4 @@
1
+ import { SqlSyncConfigParser } from '@powersync/service-core';
1
2
  import { beforeEach, describe, expect, it } from 'vitest';
2
3
 
3
4
  import { Direction } from '@powersync/lib-services-framework';
@@ -16,10 +17,13 @@ describe('Migrations', () => {
16
17
  // The migration tests clear the migration store, without running the down migrations.
17
18
  // This ensures all the down migrations have been run before.
18
19
  const setup = POSTGRES_STORAGE_SETUP;
19
- await using factory = new PostgresBucketStorageFactory({
20
- config: TEST_CONNECTION_OPTIONS,
21
- replicationStreamNamePrefix: 'test_'
22
- });
20
+ await using factory = new PostgresBucketStorageFactory(
21
+ {
22
+ config: TEST_CONNECTION_OPTIONS,
23
+ replicationStreamNamePrefix: 'test_'
24
+ },
25
+ new SqlSyncConfigParser()
26
+ );
23
27
 
24
28
  await dropTables(factory.db);
25
29
  await setup.migrate(Direction.Down);