Skip to content

Commit

Permalink
Fixup contract test create migration.
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion committed Sep 25, 2023
1 parent 28d4424 commit d2275d9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions contract-tests/sdkClientEntity.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import got from 'got';
import ld, {
LDConcurrentExecution,
LDExecution,
LDExecutionOrdering,
LDMigrationError,
LDMigrationSuccess,
LDSerialExecution,
Migration,
createMigration,
} from 'node-server-sdk';

import BigSegmentTestStore from './BigSegmentTestStore.js';
Expand Down Expand Up @@ -172,7 +171,7 @@ export async function newSdkClientEntity(options) {
const migrationOperation = params.migrationOperation;
const readExecutionOrder = migrationOperation.readExecutionOrder;

const migration = new Migration(client, {
const migration = createMigration(client, {
execution: getExecution(readExecutionOrder),
latencyTracking: migrationOperation.trackLatency,
errorTracking: migrationOperation.trackErrors,
Expand Down

0 comments on commit d2275d9

Please sign in to comment.