Skip to content

Commit 55eaa44

Browse files
committed
remove unused sync modes
1 parent 6ebb44b commit 55eaa44

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/index.new.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ describe('Core Index Tests', () => {
267267
const argumentOne = {
268268
syncJobOptions: {
269269
scope: 'an_example_scope',
270-
syncMode: SyncJobModes.CREATE_OR_UPDATE,
270+
syncMode: 'DIFF',
271271
},
272272
entities: [exampleEntity],
273273
};
@@ -281,7 +281,7 @@ describe('Core Index Tests', () => {
281281
const expectedArgument = {
282282
source: SyncJobSources.API,
283283
scope: 'an_example_scope',
284-
syncMode: SyncJobModes.CREATE_OR_UPDATE,
284+
syncMode: 'DIFF',
285285
};
286286

287287
expect(j1.startSyncJob).toHaveBeenCalledWith(expectedArgument);

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ export enum SyncJobSources {
252252

253253
export enum SyncJobModes {
254254
DIFF = 'DIFF',
255-
CREATE_OR_UPDATE = 'CREATE_OR_UPDATE',
256255
}
257256

258257
export type SyncJobResponse = {

0 commit comments

Comments
 (0)